OnTrigger
Revision as of 02:58, 26 May 2006 by imported>JOG (Moved to "Category: Blocktypes")
Syntax:
begin OnTrigger TriggeringRefID (optional)
Example:
begin OnTrigger player
This block will be run once when something triggers the scripted object by colliding with it. If you specify a TriggeringRefID, the block will only run when that specific reference triggers the object; otherwise, the block will run when anything triggers the scripted object.