Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script variables in a NOMOD object?

Mojito Sorbet
Registered User
Join date: 12 Jun 2008
Posts: 13
09-16-2008 12:23
I made an object with some scripts that store state in script variables.
I gave a NOMOD copy of the object to somebody.
Does that make the script unable to change its own variables?
Faust Vollmar
llSetAgentSanity(FALSE);
Join date: 3 Feb 2007
Posts: 87
09-16-2008 12:26
No. The execution of scripts isn't subject to the inventory permissions system except in the cases of RemoteLoad and Rezzing a No-Copy object.
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
09-16-2008 12:29
No the script will run regularly.
Nomod means they can't edit the source.
If there is a problem with the script running now might be due to the need for the script to be reset after changing owners, so values are set at the script reset time and do not change when you pass it to someone else. (A fairly common oversite, since it will work 100% of the time you and you don't notice these errors until someone else tries to use it).