OnTriggerLeave - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script (Papyrus)
Event called when the object reference is a trigger volume and has been left.
Syntax
Event OnTriggerLeave(ObjectReference akActionRef)
Parameters
- akActionRef: The ObjectReference that left the volume.
Examples
Event OnTriggerLeave(ObjectReference akActionRef)
Debug.Trace(akActionRef + " just left us!")
EndEvent
Notes
This event can be received out of order with OnTriggerEnter, so it's ideal to keep a count instead of a simple true/false value for when things are inside the trigger.