ApplyAnimation to upperbody?
#1

I have the animation 'ApplyAnimation(playerid, "PED", "IDLE_chat", 4.1, 0, 0, 0, 0, 3000, 0);'

Tried to use it while talking but it won't able the player to move at all (except head movement ofcourse.)
Is there anyway to apply animations to specifec bones / part of the body? As well as getting the current movement of that specifec bone / part of body. (Actually a good way for another system of mine < )

Thanks in advance.
Reply
#2

I dont think its possible to get the animations from different bones, u can get the current animation that is playing i think. but u want it so the idle chat animation starts playing when you are chatting? thats pretty easy actually.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED(KEY_CROUCH)) // ure gonna have to find out wich key u want to press because you can only use gta sanandreas standers keys like fire, crouch etc so i put it on crouch for now.
    {
        ApplyAnimation(playerid, "PED", "IDLE_chat", 4.1, 0, 0, 0, 0, 3000, 0);
    }
    return 1;
}
Reply
#3

Hm. It'd be intersting if it would be possible.
Thanks anyway, I'll use the reguler one then.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)