User Tools

Site Tools


tnhscript:trapsignalawareness

TrapSignalAwareness

When turned on, a signal is sent to all AI that have an AIAwareness link to some other object. Objects to check for are specified with ControlDevice links.

By default, any first-hand awareness is accepted. The awareness parameter sets a more restrictive requirement.

Parameter Condition
0 Any first-hand awareness.
1 Must be able to see the object.
2 Must only have heard the object.
3 Must have both seen and heard the object.
Inherits GenericTrap
Links ControlDevice
Parameters signal (string) Signal to send.
awareness (integer) Awareness requirement.
tnhscript/trapsignalawareness.txt · Last modified: 2010/11/22 19:12 (external edit)