get_num_humans_in_trigger(trigger_name)

Parameters:
trigger_name (string) Name of the trigger
 
Returns:
(int) Number of humans in this trigger

Description:
Gets the number of humans currently in this trigger. (For instance, if you have a trigger in an elevator to determine when the doors should close, you want to check that this function returns 0.)
 

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