OnUnequipped - ObjectReference
Member of: ObjectReference Script
Event called when the object reference has been unequipped by an actor.
SyntaxEdit
Event OnUnequipped(Actor akActor)
ParametersEdit
- akActor: The actor that unequipped this object.
NotesEdit
When an object is unequipped it may still be inside a container, which means that you cannot call Member Functions on it.
ExamplesEdit
Event OnUnequipped(Actor akActor)
if akActor == Game.GetPlayer()
Debug.Trace("We were unequipped from the player!")
endIf
endEvent