|
Robin Peel
Registered User
Join date: 8 Feb 2005
Posts: 163
|
11-24-2007 09:18
Hello, I know this is possible, but I don't know how to do it. Can somebody either post the wiki place or a snippet for how to reset a script when inventory change is detected? Thank you
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
11-24-2007 09:25
 ...taking particular note of: CHANGED_INVENTORY
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
11-24-2007 09:26
default { changed(integer change) { if(change & CHANGED_INVENTORY){llResetScript()} } }
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Robin Peel
Registered User
Join date: 8 Feb 2005
Posts: 163
|
11-24-2007 09:48
thank you all very much
|