learning jscript

Smart people ~ Great Scripts
Post Reply
Posts: 2
Joined: 19 Aug 2009, 19:20

learning jscript

Post by deborahjeancrain »

where is the best source on the web to learn jscript to use with truespace?
thanks for your help.

Jack Edwards
Senior Chief Petty Officer
Posts: 181
Joined: 22 May 2009, 04:28

Re: learning jscript

Post by Jack Edwards »

JScript for tS is standard MS Jscript. So the only things you really need to learn that are specific to trueSpace are the name spaces and functions for the tS objects.

Most of the interfaces are listed in the SDK documentation. They are the SDK C++ classes that begin with IRi.

The auto complete feature in the script editor will help you out a lot, so once you know the name spaces you can type them in followed by a . and it will pop up a list of properties and methods associated with that name space. Object creation is handled through the System.CreateDO() function. There's an auto complete for that one as well that will list the valid Data Objects that can be created.

Your best bet is to go through scripts written by others. That way you can learn the interfaces without as much trial and error. Also see my article here:
http://www.truespaceplugins.com/article ... space.html" onclick="window.open(this.href);return false;
No booleans were used in the mangling of this message... :?

YafaRay for trueSpace Project

(Current version: v0.7.0)


Post Reply