Rstan Posted November 13, 2013 Share Posted November 13, 2013 I read in the notecard: Japanese sliding door 01. The door opens / closed at the touch.If you change the size. do not forget to reset the script when finished.How can I reset the script? Link to comment Share on other sites More sharing options...
revochen Mayne Posted November 13, 2013 Share Posted November 13, 2013 Double click on the the script to open it in the editor and press the reset button. Thers also an option for at the top building menu i believe but i almost reset scripts in editor. Requires specific perms on the script though. Link to comment Share on other sites More sharing options...
Madelaine McMasters Posted November 13, 2013 Share Posted November 13, 2013 To reset the scripts in a thing, select it, then go to Build->Scripts->Reset Scripts. In Firestorm (and perhaps other third-party viewers", right click the think and select "Object->Reset Scripts". Scripts can contain internal variables that persist across many operations, such as moving them, pulling them back into inventory and rezzing them again, etc. Sometimes, upon first running, these scripts obtain information from their environment (like the size or orientation of the door they're in) when they're rezzed. This is more efficient than constantly querying the object for information that rarely changes. But when the environment does change, the script's internal variables may become obsolete, and the script might malfunction. For this reason you must sometimes reset a script after doing something to the object containing it. Link to comment Share on other sites More sharing options...
Rstan Posted November 13, 2013 Author Share Posted November 13, 2013 Ok, and how can I copy script? Just edit and copy and then insert in new object? The object has full permissions for copy script. Link to comment Share on other sites More sharing options...
Madelaine McMasters Posted November 13, 2013 Share Posted November 13, 2013 If you wish to copy a script from one object to another, you can edit the object that already has it, open the Contents tab, then drag the script to your inventory. Then drag the script from inventory into the Contents tab of the new object. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now