|
Australis Karas
Registered User
Join date: 18 Oct 2008
Posts: 2
|
10-18-2008 15:50
I was wondering how this might be possible (Or even if it is, I might've misunderstood what was going on...) To explain, a while ago I saw a magic system that basically worked like this; you bought a wand and then bought spells seperately, and the spells were loaded into the wand by putting both wand and spell on the ground and clicking the spell. This somehow updated the wand to be able to cast that spell. I interpreted this as the spell object having a script which somehow updated the script in the wand, and I wondered how this might be done? I'd greatly appreciate any help with this! 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
10-18-2008 16:47
it's more likely adding a script to the wand, this is usually done via llRemoteLoadScriptPin.... http://wiki.secondlife.com/wiki/LlRemoteLoadScriptPinalthough it IS possible to achieve the same trick by preloading all possible options, and then unlocking options via messaging.... but this isn't something I reccomend, since you lose the ability to add new features, and script resets can cause you to lose options... but it's useful for mini quest type games =)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Australis Karas
Registered User
Join date: 18 Oct 2008
Posts: 2
|
10-19-2008 06:30
Ahh ok, that does sound right, I bet that's it. Thanks very much! 
|