Difference between revisions of "RemoveItem"

362 bytes added ,  12:08, 14 April 2009
→‎Notes: Troubleshooting link
imported>Vswe
m (Added Search Terms)
imported>Dev akm
(→‎Notes: Troubleshooting link)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:


==Notes==
==Notes==
* Suffers from the same stability limitations as [[RemoveMe]]. Using RemoveItem immediately after the object has been added will often result in a crash. To prevent this, wait more than one frame before you remove the item.
* You can use a [[Variable_types:_reference_variables|reference variable]] as ''ObjectID'' and a [[Variable_types:_shortint|short]] variable for ''count''.
* You can use a [[Variable_types:_reference_variables|reference variable]] as ''ObjectID'' and a [[Variable_types:_shortint|short]] variable for ''count''.


Line 20: Line 22:


* See [[Message Spam]] for techniques to avoid unwanted "Item Removed" messages.
* See [[Message Spam]] for techniques to avoid unwanted "Item Removed" messages.
* RemoveItem is not always reliable when removing multiple items at once. See [[Common_Bugs#Remove_Item|Troubleshooting: Common Bugs]].


==Inventory Updating==
==Inventory Updating==
Anonymous user