Posted June 15, 20204 yr Hello to whoever is reading this, I have an issue with a OPEN_SEQUENCE_TASK related task. I am trying to make a PED do a specific set of actions after each other. For I tried to use the OPEN_SEQUENCE_TASK feature. Howver after a time the game no longer recognizes the PED who is referred to 0 or something. The PED will no longer do what he's supposed to do unless I change the 0 to it's name. However if I do that I can no longer run the actions after each other, now the PED will only do the last set action. Could someone help me with finding a way around this? Here's the part of the code I am referring to: Object seq; AI::OPEN_SEQUENCE_TASK(&seq); AI::_0x92DB0739813C5186(target, horse, -1, -1, 2.0f, 1, 0, 0); // Mount the horse AI::_0xFD45175A6DFD7CE9(target, player, 3, 0, -999.0f, -1, 0); // FLEE AI::CLOSE_SEQUENCE_TASK(seq); AI::CLEAR_PED_TASKS(target, 1, 1); AI::TASK_PERFORM_SEQUENCE(target, seq);
June 15, 20204 yr That behavior sounds more like you are reaching some internal task sequence/pool limit. Have you tried using this right after performing the sequence to free it?
June 15, 20204 yr Author On 6/15/2020 at 2:01 PM, LMS said: That behavior sounds more like you are reaching some internal task sequence/pool limit. Have you tried using this right after performing the sequence to free it? Okay dude, I cannot express my gratitude to you on this one, it finally works now. I was stuck on this for so damn long XD. You're the best!! Edited June 15, 20204 yr by DoctorBones
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.