Difference between revisions of "OnTriggerEnter - ObjectReference"

Jump to navigation Jump to search
m
imported>Goggle
(→‎Examples: Added example to coincide with the note about GetTriggerObjectCount())
imported>Goggle
Line 22: Line 22:
<br>
<br>
<source lang="papyrus">
<source lang="papyrus">
; Check how many objects or inside the trigger so that the events run in proper sequence.
Event OnTriggerEnter(ObjectReference akTriggerRef)
Event OnTriggerEnter(ObjectReference akTriggerRef)
if GetTriggerObjectCount() == 1
if GetTriggerObjectCount() == 1
Anonymous user

Navigation menu