OnTriggerActor

From the Oblivion ConstructionSet Wiki
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