PlayThread..
by Temasek Polytechnic · in Torque Game Engine · 07/26/2006 (7:20 pm) · 7 replies
Is there a function that i can use to check whether a thread is still playing (eg. something like isPlaying()) ?
About the author
#2
08/02/2006 (11:49 pm)
So does anyone have a clue?
#3
08/03/2006 (2:35 am)
You're saying that it does not play the root animation after the wave animation has been completed?
#4
08/03/2006 (5:48 pm)
Yes, i don't know why..
#5
08/05/2006 (6:48 am)
Use %aiPlayer.setActionThread("celwave");
#7
Ok, i have an AIPlayer. It is a tiger. i have a walk sequence.
So, when i want to make my tiger walk, i call %tiger.playThread(0,"walk");
The problem is, sometimes the animation is played, and sometimes its not!!
If i add 2 tigers, sometimes the animation is played for both, sometimes the animation is played for only one of them, and sometimes both doesn't play!!
I've been cracking my head over this for tooo long!!!
Please help!! Thank You!!
08/15/2006 (3:27 am)
MAN!! This is so irritating!!Ok, i have an AIPlayer. It is a tiger. i have a walk sequence.
So, when i want to make my tiger walk, i call %tiger.playThread(0,"walk");
The problem is, sometimes the animation is played, and sometimes its not!!
If i add 2 tigers, sometimes the animation is played for both, sometimes the animation is played for only one of them, and sometimes both doesn't play!!
I've been cracking my head over this for tooo long!!!
Please help!! Thank You!!
Torque Owner Temasek Polytechnic
I have this in my code:
so now, the aiPlayer will wave. Since celwave is not cyclic, it stops after the wave. The problem is that i want it to play the root animation once it has played the celwave animation. Is there anyway to do this?