Mod:Creation Kit/OnClose - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event called when the object has finished closing. (Like a door that has finished animating shut)

Syntax
Event OnClose(ObjectReference akActionRef)

Parameters

 * akActionRef: 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 endEvent