Author Topic: playThread();  (Read 2519 times)

Hello,

How does PlayThread(); AND what animations can you use with this?

Thanks.

%obj.playThread(slotnumber, threadname);


ie


findClientByName("bob").player.playThread(3, ArmReadyRight);

root
run
walk
back
side
crouch
crouchRun
crouchBack
crouchSide
look
headside
headUp
jump
standjump
fall
land
armAttack
armReadyLeft
armReadyRight
armReadyBoth
spearready
spearthrow
talk
death1
shiftUp
shiftDown
shiftAway
shiftTo
shiftLeft
shiftRight
rotCW
rotCCW
undo
plant
sit
wrench
activate
activate2
leftrecoil


Any playertype with a custom DTS may have more. ie tremor also has "eat" and "bite".

What does slotNumber do?

If you play two animations in the same slot, the first one will cancel.
If you play two animations in two slots, they will both play, considering blending and priority however.
For example, using freelook while shooting and talking will play all 3 animations, but in different slots.