Game Development Community

setActionThread doesn't play certain animations

by Maxim Ivanov · in Torque 3D Professional · 06/20/2010 (3:49 pm) · 1 replies

I've spawnSphere where I spawn BoomBot model as AIPlayer instance, in attached script I've only one string:
$gTestNPC = $SpawnObject;
(btw how can I get model in world by name? It certainly not suitable to have bunch of global vars per NPC)

Then in console I do
$gTestNPC.setActionThread("head");
$gTestNPC.setActionThread("side");

Where "head" does work and "side" doesn't. What can cause such behaviour? Both animation seqence are present and playable via shape editor.

#1
06/22/2010 (10:32 am)
I've found that it plays only animation with "blend" flag turned on. How can I play other types of animation?