Shila was working on a script that reads a notecard, and she wanted to know how to reset the script whenever the notecard is edited and saved. The code for this is pretty quick and simple. All you have to do is add the "changed" event to your code.
changed(integer change){
if ( change & CHANGED_INVENTORY){
llResetScript();
}
}
0 comments:
Post a Comment