OnClose - ObjectReference
Revision as of 16:18, 16 August 2010 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus Category:Events '''Member of:''' ObjectReference Script Event called when the object has finished closing. (Like a door that …')
Member of: ObjectReference Script
Event called when the object has finished closing. (Like a door that has finished animating shut)
SyntaxEdit
Event OnClose(ObjectReference akActionRef)
ParametersEdit
- akActionRef: The reference that caused us to close.
ExamplesEdit
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