Difference between revisions of "RemoveMe"
Jump to navigation
Jump to search
no edit summary
imported>Vswe m (Added Search Terms) |
imported>Skyranger-1 |
||
Line 19: | Line 19: | ||
*This function preserves script variables, health, and charges associated with the item. | *This function preserves script variables, health, and charges associated with the item. | ||
*If there are multiple items of the same type in the same container, the one that actually gets removed may be first one in the container instead of the one that actually called this function. | |||
*Calling this function within blocks like [[onEquip]] and [[onUnequip]] can cause those blocks to loop repeatedly. However, the loop can be circumvented by ensuring that onEquip or onUnequip exits normally on the second pass. See [[Generic Unequip]]. | *Calling this function within blocks like [[onEquip]] and [[onUnequip]] can cause those blocks to loop repeatedly. However, the loop can be circumvented by ensuring that onEquip or onUnequip exits normally on the second pass. See [[Generic Unequip]]. |