EquipItem - Actor
Jump to navigation
Jump to search
Member of: Actor Script
Forces this actor to equip the specified item, preventing removal if requested.
Syntax[edit | edit source]
Function EquipItem(Form akItem, bool abPreventRemoval = false, bool abSilent = false) native
Parameters[edit | edit source]
- akItem: The item the actor should equip.
- abPreventRemoval: If true, prevents the actor (or player) from removing the item.
- Default: False
- abSilent: Should the equip message be silenced?
- Default: False
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Force the player to equip the tutu - but they can remove it
Game.GetPlayer().EquipItem(TutuProperty)
; Force Sally to equip the dress - but they can't remove it
Sally.EquipItem(DressProperty, true)