GetTargetsInTrigger(triggerNode as NodeRef) as List of NodeRef
- The trigger node you are checking for targets
This function can be called in a script to learn what targets are currently in the passed trigger
For more target functions, see: Area Awareness
For more information about triggers see: Trigger Info
// The following would print a list of all targets within a trigger trigger as noderef = 1000202220 // ID # of the trigger of concern targets = GetTargetsInTrigger(trigger) foreach target in targets println(target.name+" is in the trigger area") .