Editing Drop
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 20: | Line 20: | ||
* While '''set pRef to player.Drop SomeItem 1''' will compile and run, pRef will remain null (00000000) and won't be of any use. | * While '''set pRef to player.Drop SomeItem 1''' will compile and run, pRef will remain null (00000000) and won't be of any use. | ||
* Does NOT appear to trigger OnDrop blocks when called on the player. | * Does NOT appear to trigger OnDrop blocks when called on the player. | ||
* Item stats (i.e., Health, Charges, Script Variables) are reset as if it's a new item | * Item stats (i.e., Health, Charges, Script Variables) are reset as if it's a new item. | ||
* If using to only drop a part of a stack of items, it's unclear ''which'' will be dropped. For instance, if you drop 3 of 5 Baseball Bats, they may be the 3 with the least health, most health, etc. | * If using to only drop a part of a stack of items, it's unclear ''which'' will be dropped. For instance, if you drop 3 of 5 Baseball Bats, they may be the 3 with the least health, most health, etc. | ||