Difference between revisions of "OnTrigger"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Kkuhlmann |
||
Line 1: | Line 1: | ||
'''Syntax:''' | =='''Syntax:'''== | ||
begin OnTrigger | begin OnTrigger TriggeringRefID (optional) | ||
This block will be run every frame when something triggers the scripted object by colliding with it. | This block will be run every frame when something triggers the scripted object by colliding with it. | ||
==Notes== | |||
* The action ref is NOT set, so [[IsActionRef]] and [[GetActionRef]] should not be used inside this blocktype. | |||
===See Also=== | ===See Also=== |
Latest revision as of 09:44, 17 December 2008
Syntax:[edit | edit source]
begin OnTrigger TriggeringRefID (optional)
This block will be run every frame when something triggers the scripted object by colliding with it.
Notes[edit | edit source]
- The action ref is NOT set, so IsActionRef and GetActionRef should not be used inside this blocktype.