Difference between revisions of "UnequipAll - Actor"
Jump to navigation
Jump to search
imported>Plplecuyer |
imported>Goggle (Unequips the pipboy(it vanishes from the HUD).) |
||
Line 21: | Line 21: | ||
Game.GetPlayer().UnequipAll() | Game.GetPlayer().UnequipAll() | ||
</source> | </source> | ||
== Notes == | |||
* 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 == | == See Also == |
Latest revision as of 08:25, 11 September 2016
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.