Returns 1 if the character is wait stated and 0 otherwise. Wait state is when the creature or player normally cannot perform another command because they have just performed one such as headbutt. This is extremely useful since commands issued from scripts ALWAYS run, they ignore the wait state, meaning if you want to cook your own combat sequence or something else, you should use this to determine if they could normally issue the next command. Character entity may be a character pointer or keyword.
Example:
if( !%isWaiting( @this ) ) { kick %getOpponent( @this ) } endif |