Game Development Community

PlayThread Problem..

by Temasek Polytechnic · in Torque Game Engine · 07/10/2006 (8:12 pm) · 0 replies

OK.

I have a horse.cs file like this:
datablock TSShapeConstructor(Horsey)
{
	baseShape = "./horse.dts";
	sequence0 = "./horse_root.dsq root";
	sequence1 = "./horse_walk.dsq walk";
	sequence2 = "./horse_graze.dsq graze";
};

In my game, i have a function called horseWalk. In this function, i call playThread(0,"walk") and the horse animation plays correctly.

Once it has reached its destination, i call playThread(0,"root") and the animation plays correctly.

But when i call playThread(0,"graze"), the animation isn't played. Instead, it plays the root animation.

I loaded the dts file up in the ShowTool by pressing "Load Dts and CS". It loads up all the animation correctly and it all plays correctly.

Why can't the graze animation be played?