Difference between revisions of "OnTriggerEnter - ObjectReference"
Jump to navigation
Jump to search
m
OnTriggerEnter - ObjectReference (edit)
Revision as of 07:56, 26 August 2016
, 07:56, 26 August 2016→Examples
imported>Goggle (→Examples: Added example to coincide with the note about GetTriggerObjectCount()) |
imported>Goggle m (→Examples) |
||
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 |