Little help

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.

Little help // Scriptorium

1  |  

Post by Asem // Dec 22, 2006, 3:52pm

Asem
Total Posts: 255
Are you allowed to do this (It gives me an error during runtime not during checking if syntax is correct):

ballMatrix = createDO('Math Package/Matrix Float Data');
ball Matrix = Node.Value(Owner + '/Sphere', 'Matrix');

Will it pick up the whole matrix of the other object? When I run the script it tells me basically it can't find the object though I spelled everything correctly and made sure of it.

Also is there a way for you guys to add code brackets to the forums?

Post by Asem // Dec 23, 2006, 5:03am

Asem
Total Posts: 255
I used switch cases instead this time. Thanks though I went back to see if I do have system.createDO and apparently I do.

I just figured it out. I had my scene and the object with the same name and ts doesn't like that eg. Project/Ball/Ball so had to change to Project/Ball/pBall.
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