Game Development Community

Help with a simple animation please

by Michael Dockery · in Torque Game Engine · 05/03/2007 (9:50 am) · 1 replies

I purchased TEGA a few days ago and am running into what you may think is a simple problem.

Im just trying to animate a simple object. For an example i have an object of 3 boxes exported from MilkShape as DTS with one DSQ. MilkShape creates the .cs file for me and i exec("/data/...") the file in the player.cs in the client/scripts folder.

Everything looks fine in the TEGA_Debug.exe -show and i want to call the sequence from the demo.exe command console using either setactionthread or playthread using a name or handle as reference but all i get is a message:

Unknown command setactionthread...ect
Object (2413) Tssatic -> sceneobject -> netobject...etc
or
Unknown command playthread...ect
Object (2413) Tssatic -> sceneobject -> netobject...etc

Ive tried both dsq and embedded models with the same result. Ive tried searching the forums with no luck and ive even bought mr Finneys book its really putting a spanner in my learning works can somebody help please.

#1
05/03/2007 (11:26 am)
Just found out you need more than just the model for the animation to play. you also need a datablock forthe object in one of the scripts (player.cs). Thanks to Caleb for the help.