Difference between revisions of "OnTriggerEnter - ObjectReference"
OnTriggerEnter - ObjectReference (edit)
Revision as of 07:57, 26 August 2016
, 07:57, 26 August 2016→Examples
imported>Goggle m (→Examples) |
imported>Goggle m (→Examples) |
||
Line 22: | Line 22: | ||
<br> | <br> | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; Check how many objects | ; Check how many objects are 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 |