Difference between revisions of "UnequipItem"

328 bytes added ,  06:17, 11 May 2007
get rid of those annoying messages!
imported>JOG
imported>DragoonWraith
(get rid of those annoying messages!)
Line 7: Line 7:


Forces the actor to unequip the object. If NoEquipFlag = 1, actor (including the player) will be unable to equip the object.
Forces the actor to unequip the object. If NoEquipFlag = 1, actor (including the player) will be unable to equip the object.
==Notes==
*By default, using this function on the player will display a message informing the player that the item in question has been unequipped. In almost all situations, this is very annoying, but you can use a blank [[Message]] call to prevent it from happening, like so:
<pre>Message ""
player.EquipItem "item ID"</pre>


==See Also==
==See Also==