Code: Select all
var final:=MoveCharacterToLocation( who, jump_x, jump_y, jump_z );
if( CInt(final) != 1 )
...
endif
Code: Select all
if (final != 1 )
if(!final)
if(final==error)
I "printed" the final var and this was what it shows
the point is... that var (final) returns 1 when success, and a error array when fails...error{ errorText = "Can't go there" }
but I can't get the fail status on an if statement.
thanks