I just came across this very weird error... Here's part of the code that reproduces this error:
type player_type
PathEndFrame as word
endtype
global Player as player_type
Player.PathEndFrame=1
if Player.PathEndFrame>1 then a=1
And here is the error after compiling:
Quote: "Could not find field "Pa" in type "player_type" at line 8"
Now what boggles my mind is that when I take the line with the if statement away, the error is gone
type player_type
PathEndFrame as word
endtype
global Player as player_type
Player.PathEndFrame=1
Any explanations?
It can not be the length of the type, because this one here works:
type player_type
gobagobagobagoba as word
endtype
global Player as player_type
Player.gobagobagobagoba=2
if Player.gobagobagobagoba=2 then a=1
TheComet