character_is_ready(name)

Parameters:
name (string) name of the character
 
Returns:
(boolean) true if the character is ready, else false

Description:
Check if a character is ready to take an action.

"Ready" is currently defined as:
 - not dead or otherwise incapacitated
 - not hidden or unloaded
 - not ragdolled
 - not in the middle of transitioning from sitting/sleeping to standing
 - not executing a scripted move-and-fire command

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15