OnUnequipped - ObjectReference
Revision as of 17:17, 18 November 2015 by imported>Plplecuyer
Member of: ObjectReference Script
Event called when the object reference has been unequipped by an actor.
Syntax
Event OnUnequipped(Actor akActor)
Parameters
- akActor: The actor that unequipped this object.
Examples
Event OnUnequipped(Actor akActor)
if akActor == Game.GetPlayer()
Debug.Trace("We were unequipped from the player!")
endIf
endEvent
Notes
When an object is unequipped it may still be inside a container, which means that you cannot call most native functions on it.