Jump to content

Play Anmation


mmods

Recommended Posts

If you want a ped to move using a certain movement animation in this case being drunk you should use the MovementAnimationSet property.

var animSet = new AnimationSet("move_m@drunk@verydrunk");
animSet.LoadAndWait();
ped.MovementAnimationSet = animSet;

 

here for future reference on how to use the task:

ped.Tasks.PlayAnimation(new AnimationDictionary("missbigscore2aig_3"),
    "wait_for_van_b", 1f, AnimationFlags.Loop);
Edited by NoNameSet
Link to comment
Share on other sites

2 hours ago, NoNameSet said:

If you want a ped to move using a certain movement animation in this case being drunk you should use the MovementAnimationSet property.


var animSet = new AnimationSet("move_m@drunk@verydrunk");
animSet.LoadAndWait();
ped.MovementAnimationSet = animSet;

 

here for future reference on how to use the task:


ped.Tasks.PlayAnimation(new AnimationDictionary("missbigscore2aig_3"),
    "wait_for_van_b", 1f, AnimationFlags.Loop);

And how i can find animations?

Edited by mmodsgtav
And how can i find animations?
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...