Help required with scripting

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Help required with scripting // Scriptorium

1  |  

Post by camelot // Dec 7, 2007, 5:35pm

camelot
Total Posts: 68
pic
Please forgive me if this is a stupid question, but I am a newbie to scripting in TS.
I modified an existing script after exporting it in XML.
How can I get this modified script back into TS?
Or is there a better way to modify?

Brian

Post by trueBlue // Dec 7, 2007, 5:50pm

trueBlue
Total Posts: 1761
pic
In the Script Editor's toolbar is an Import Script icon.

Post by camelot // Dec 9, 2007, 6:50pm

camelot
Total Posts: 68
pic
In the Script Editor's toolbar is an Import Script icon.

Of course there is! Thanks, trueBlue.
I used the JavaScript object and inserted my script into it. Now all I need to know is how do I save this JS object into a library as an RsObject for future use?
Or am I missing something obvious again?

Brian

Post by trueBlue // Dec 9, 2007, 9:25pm

trueBlue
Total Posts: 1761
pic
Make sure it is selected and then right click in an empty area in the library where you would like to save it and select Insert As/Object.RsObj

Post by camelot // Dec 10, 2007, 1:28pm

camelot
Total Posts: 68
pic
Make sure it is selected and then right click in an empty area in the library where you would like to save it and select Insert As/Object.RsObj

Once again, trueBlue, thank you!

Brian
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn