UnequipAll - Actor

From the Fallout4 CreationKit Wiki
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]