Background for Skyrim SE
Member of the ObjectReference script
eventOnUnequipped(ActorakActor)

Description

Wiki Description

Event called when the object reference has been unequipped by an actor.

Documentation Comment

Event received when this object is unequipped by an actor


Caveats

CK Wiki - Notes

When an object is unequipped it may still be inside a container, which means that you cannot call Member Functions on it.


Parameters

  1. ActorakActor

    CK Wiki Description

    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

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

event OnUnequipped(Actor akActor)
    Debug.trace("Event received - OnUnequipped: akActor = " + akActor)
endEvent

Related Pages


Additional References

View this event’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.