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