Game Development Community

How setActionThreads work

by xen · in Torque Game Engine · 02/09/2006 (3:46 am) · 2 replies

I've been fiddling around with the source code and i was trying to fix how to play animations on my character..

in the setActionsThread function of class Player (player.cc)
these are my notes if anyone's interested:

on the parameters:
bool hold // true: animation will get paused after being played. false: animations in queue will get played after playing this animation
bool wait // ??
bool fsp // ?? i'm guessing this means the animation will be played even if the player is on 1st person view
bool forceSet // true: if the animation is already being played, replay the animation at the beginning

#1
02/13/2006 (7:55 am)
Bool fps: update the animation on server too (if it's set to false, the server-side model will only change to the first animation frame - this is usefull if you need to read data from the animation on the server, like nodes positions).

bool wait: will prevent the player from auto-selecting a new animation (like run, back, etc) until the animation finishes playing.
#2
02/14/2006 (6:05 am)
So if fps=true, the client will load the animation from the server?