Stopping forward movement while animating
by Nmuta Jones · in Artist Corner · 12/02/2006 (6:08 am) · 0 replies
I've noticed that if you use the "playThread ( )" command, the character will play the specified thread , but if you are moving (pressing the forward key), obviously, you will keep moving forward.
I've created a sitting animation that I schedule and then CANCEL after about 3 seconds. I don't want the player to be able to move while the animation is playing (during those 3 seconds).
I have a hunch that this is possible without having to modify the head. Anyone have any ideas on how to accomplish this? I thought it may involve changing the client side key bindings to call a function and then inside of that function do
if (%client.animflag == false ){
[run stuff]
} else {
//do nothing
}
I've created a sitting animation that I schedule and then CANCEL after about 3 seconds. I don't want the player to be able to move while the animation is playing (during those 3 seconds).
I have a hunch that this is possible without having to modify the head. Anyone have any ideas on how to accomplish this? I thought it may involve changing the client side key bindings to call a function and then inside of that function do
if (%client.animflag == false ){
[run stuff]
} else {
//do nothing
}
About the author
Lead Developer for MediaBreeze Multimedia