UnequipAll - Actor

From the Fallout4 CreationKit Wiki
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)
Jump to navigation Jump to search

Member of: Actor Script

Forces this actor to unequip all currently equipped items.

Syntax[edit | edit source]

Function UnequipAll() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

  • 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 Also[edit | edit source]