OnTriggerActor

From the Oblivion ConstructionSet Wiki
Revision as of 23:51, 21 September 2008 by imported>Antares (Reciprocated the links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

 begin OnTriggerActor TriggeringRefID

Example:

 begin OnTriggerActor player 

This block will be run once when an actor 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 (assuming the reference is an actor); otherwise, the block will run when any actor triggers the scripted object.

See Also[edit | edit source]

OnTrigger