Difference between revisions of "RemoveItem"
Jump to navigation
Jump to search
→Notes: Note on equipped item crashes
imported>Qazaaq m (fixed the list) |
imported>Haama (→Notes: Note on equipped item crashes) |
||
Line 24: | Line 24: | ||
<li>If ObjectID is a leveled list, the leveled item generated from the leveled list will be removed.</li> | <li>If ObjectID is a leveled list, the leveled item generated from the leveled list will be removed.</li> | ||
<li>Removing an equipped item may cause a CTD. Use [[GetEquipped]] to find out if the item is equipped, and, if so, use [[UnequipItem]] before removing it.</li> | |||
<li>By default, using this function on the player will display a message informing the player that the item in question has been removed. In many situations, this is very annoying, but you can use a pair of blank [[Message]] calls to prevent it from happening, like so:</li> | <li>By default, using this function on the player will display a message informing the player that the item in question has been removed. In many situations, this is very annoying, but you can use a pair of blank [[Message]] calls to prevent it from happening, like so:</li> |