UnequipAll - Actor

Revision as of 08:25, 11 September 2016 by imported>Goggle (Unequips the pipboy(it vanishes from the HUD).)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script

Forces this actor to unequip all currently equipped items.

SyntaxEdit

Function UnequipAll() native

ParametersEdit

None.

Return ValueEdit

None.

ExamplesEdit

; Force the player to unequip all currently equipped items.
Game.GetPlayer().UnequipAll()

NotesEdit

  • Use caution with this function as it will also unequip the pipboy. As this isn't an item you can simply go in your inventory to re-equip for obvious reasons, you are unable to access anything outside of the perk chart. The pipboy doesn't even display on the HUD. You may want to use UnequipItemSlot - Actor instead.

See AlsoEdit