elsewhat Posted December 3, 2016 Share Posted December 3, 2016 Hi, For my scene director mod I'm using AI::TASK_PLAY_ANIM to play animation. However, tasks can only be performed in sequence, so I am not able to play and animation and perform another action. ENTITY::PLAY_ENTITY_ANIM looks promising but I cannot get it to work with Peds. (decompiled script use it for props it seems). Has anyone gotten ENTITY::PLAY_ENTITY_ANIM to work with Peds ? Here's the code I am using ENTITY::PLAY_ENTITY_ANIM(actor.getActorPed(), animation.animLibrary,animation.animName, 1000.0, 0, 0, 0, 0, 0);ENTITY::FORCE_ENTITY_AI_AND_ANIMATION_UPDATE(actor.getActorPed()); Link to comment Share on other sites More sharing options...
sollaholla Posted December 28, 2016 Share Posted December 28, 2016 Hi, For my scene director mod I'm using AI::TASK_PLAY_ANIM to play animation. However, tasks can only be performed in sequence, so I am not able to play and animation and perform another action. ENTITY::PLAY_ENTITY_ANIM looks promising but I cannot get it to work with Peds. (decompiled script use it for props it seems). Has anyone gotten ENTITY::PLAY_ENTITY_ANIM to work with Peds ? Here's the code I am using ENTITY::PLAY_ENTITY_ANIM(actor.getActorPed(), animation.animLibrary,animation.animName, 1000.0, 0, 0, 0, 0, 0);ENTITY::FORCE_ENTITY_AI_AND_ANIMATION_UPDATE(actor.getActorPed()); Did you ever solve this? Link to comment Share on other sites More sharing options...
elsewhat Posted January 2, 2017 Author Share Posted January 2, 2017 No has not been solved yet Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now