UnequipItemSlot - Actor

Revision as of 13:34, 7 April 2019 by imported>Scrivener07 (Minor format change. Thanks for the contrib BadDog)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script (Requires 1.6)

Forces this actor to unequip all armor on the given slot.

SyntaxEdit

Function UnequipItemSlot(int aiSlot) native

ParametersEdit

  • aiSlot: The biped object slot from the actors race to unequip.

Return ValueEdit

None.

ExamplesEdit

; Force the player to unequip the full helmets
Game.GetPlayer().UnequipItemSlot(30)


See AlsoEdit