eventOnClose(ObjectReferenceakActionRef)
Description
Wiki Description
Event called when the object has finished closing. (Like a door that has finished animating shut)
Documentation Comment
Event received when this object is closed
Parameters
ObjectReferenceakActionRef
CK Wiki Description
The reference that caused us to close.
Examples
Event OnClose(ObjectReference akActionRef)
if (akActionRef == Game.GetPlayer())
Debug.Trace("We were closed by the player")
else
Debug.Trace("Someone (or something) else closed us")
endIf
endEventAuto-Generated Example
Scriptname MyCoolScript extends ObjectReference
event OnClose(ObjectReference akActionRef)
Debug.trace("Event received - OnClose: akActionRef = " + akActionRef)
endEvent