OnTrigger

From GECK
Jump to: navigation, search

This block will be run every frame when something triggers the scripted object by colliding with it.

Syntax

 begin OnTrigger TriggeringRefID (optional) 

Notes

  • OnTriggerEnter will run before OnTrigger if placed above the OnTrigger block in a script.
  • The action ref is NOT set, so IsActionRef and GetActionRef should not be used inside this blocktype.

See Also