Version of Truespace

Technical questions, etc..
Shell1850
Chief Petty Officer
Posts: 135
Joined: 21 May 2009, 21:44

Version of Truespace

Post by Shell1850 »

Is there a way to tell my jscript which version of TS i am using. I want to use this to determine which views I can assign a camera.

I would like my jscrip to determine the folder the scene.RSSCN file is in.
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: Version of Truespace

Post by froo »

I checked the docs; there appears to be no way, with the SDK, to do that.
Maybe someone else has the answer.
Shell1850
Chief Petty Officer
Posts: 135
Joined: 21 May 2009, 21:44

Re: Version of Truespace

Post by Shell1850 »

Thanks.
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Version of Truespace

Post by trueBlue »

Check out the Load RsObj script in the tS761 Objects - Tutorial Objects.
Producer is the tS version it was created/saved in.
Capture.PNG
From what your saying it sounds like you do not really need the tS version in order to do what you want.
The views are path dependent inside tS Workspace. In tS761 there is a new command that helps find the WinID.
System.GetMainDir() will get the tS folder where a user installed tS76 and above.
Here is a tS761 script that may help:
tS761 Get Active Window.zip
(17.62 KiB) Downloaded 259 times

Return to “TechForum”