Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

copy/modify option for scripts

Ope Rand
Alien
Join date: 14 Mar 2003
Posts: 352
04-09-2003 13:01
this is a cross post from:

/120/68/1778/1.html

The other thread was going off topic so I brought it up here.

The idea is to have seperate options for objects and scripts so that a scripter can sell a modifiable object with a script without allowing the script to be modifiable or copiable.

For example if an object had a non-copiable non-modifiable script a buyer essentially would have bought one instance of the script. They could move that script onto another object or modify the existing object(assuming the object was set as modifiable).

I might have explained it better in the other post, I dunno.

Anyway, this could help scripters make some money off of their skills. People don't usually like to buy things that are not modifiable. But at least the script could be protected from being passed around for free.

any ideas?

(P.S. sorry for the crossposting)
Phoenix Linden
SL's Angel of Death
Join date: 3 Dec 2002
Posts: 168
04-15-2003 09:05
We have every intention of extending the permissions system to include object inventory. However, we probably will not have time before the 1.0 release.

Please bear with us until this and a few other juicy features around scripts are complete.
Ope Rand
Alien
Join date: 14 Mar 2003
Posts: 352
04-15-2003 09:48
YES! THANK YOU!!!! :D
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
04-15-2003 10:10
script controls... read note card... this is almost too much...
Mark Busch
DarkLife Developer
Join date: 8 Apr 2003
Posts: 442
04-17-2003 10:22
Not before 1.0? How long will we have to wait for that :D
0.6 is now. How often do you guys update?
And about the ability to change some variables that would be nice. But you can also use voice command to set certain variables. What I did with the evelevator doors is. setfloor <NR>

The problem was that voice commands are heard pretty far.
So now it works like this:
setfloor 5
then you have to click on those doors which need floor 5
then say "done" and you're done (clicking won't modify any door after that)

But would be easier if you can set some vars to changable so you can easy change it. Also some limit's would be usefull. so for example there could be a set of function that do this

setModifyable(string varname);
setModifyableLessthen(string varname,float value);
//on this one you can set varname, but no more than value
setModifyableMorethen(string varname, float value);
//you get the idea
setModifyableLimit(String varname,float floor, float ceiling);
//you can set between floor and ceiling

The last 3 only work with floats (ofcourse you can cast them to integer or string if you like)
the first one could work for floats, integer, strings, and some other types as well.

This idea assumes that the user will choose in the edit-field that they want to edit the vars, and the script had to be started so that the setModifyable will be parsed...
Maybe that's not the best idea

Maybe this is easier

UserModFloat(key id,float var);
UserModString(key id,string var);

etc. which will cause a edit-screen to appear for the use at the moment it's executed. Also here could be limits.

Well problem could be that you can get input fields you don't want for example you could make a script that sensors for people and show them a edit field over and over again or something :S
maybe the 'key id' should be removed and present the edit-field to the owner always.. Anyway just some ideas. I'll bet the lindens can think of the best way to do this. But maybe my idea's are usefull to them :D

Sorry for the long post. Guess I'm bored.. I wanna play :D