Difference between revisions of "OnTrigger"
Jump to navigation
Jump to search
no edit summary
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=== |