Author Topic: How to completely root all player threads?  (Read 575 times)

I'm having a bit of trouble getting a player to stop all animations when mounting to a deathVehicle. I've tried a for loop from 0-7 and calling Player.playThread(n, "root");, but to no avail.

Anyone know what to do? Is there a function to do this?

I think there is a stopThread function, which should automatically make the animations return to root, as that is the default state.

for (%i = 0; %i < 5; %i++)
{
  %obj.playThread(%i, "root");
}

%obj.setActionThread("root");
%obj.setArmThread("look");