Difference between revisions of "RemoveItem"
→Notes: Troubleshooting link
imported>Wrye (Consolidate message spam info. Cleanup.) |
imported>Dev akm (→Notes: Troubleshooting link) |
||
(2 intermediate revisions by 2 users 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== | ||
Line 53: | Line 57: | ||
[[Category: Inventory Functions]] | [[Category: Inventory Functions]] | ||
[[Category: Inventory Functions (CS 1.0)]] | [[Category: Inventory Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
Remove | |||
Item | |||
End Search Terms --> |