HughJanus Recognized Creator January 11, 20205 yr This method doesnt seem to do anything. I have iterated through all the peds in my characters surroundings and set that to true - nothing noticeable changed.
Lambda Recognized Creator March 3, 20205 yr Have you tested with enabling handcuffs on the ped first? In GTA V that is a must for the ankles to work.
HughJanus Recognized Creator July 17, 20204 yr On 3/3/2020 at 7:35 PM, Lambda said: Have you tested with enabling handcuffs on the ped first? In GTA V that is a must for the ankles to work. Unfortunately it didnt work with handcuffs enabled. I tried it like this: if (AI::GET_IS_TASK_ACTIVE(peds[i], 399)) //is ped hogtied? { AI::CLEAR_PED_TASKS_IMMEDIATELY(peds[i], false, false); //clear all tasks (make hogtie disappear) PED::SET_ENABLE_HANDCUFFS(peds[i], true, false); //bind hands PED::SET_ENABLE_BOUND_ANKLES(peds[i], true); //bind ankles } But only the hands were bound (but when the NPC attacks me, the hands still glitch into Arthurs face for a split second - so they can still fight handcuffed).
WesternGamer Recognized Creator March 1, 20223 yr On 7/17/2020 at 7:05 PM, HughJanus said: Unfortunately it didnt work with handcuffs enabled. I tried it like this: if (AI::GET_IS_TASK_ACTIVE(peds[i], 399)) //is ped hogtied? { AI::CLEAR_PED_TASKS_IMMEDIATELY(peds[i], false, false); //clear all tasks (make hogtie disappear) PED::SET_ENABLE_HANDCUFFS(peds[i], true, false); //bind hands PED::SET_ENABLE_BOUND_ANKLES(peds[i], true); //bind ankles } But only the hands were bound (but when the NPC attacks me, the hands still glitch into Arthurs face for a split second - so they can still fight handcuffed). This is very late, but I found what SET_ENABLE_BOUND_ANKLES actually does. When the ped falls, their legs spread out. When SET_ENABLE_BOUND_ANKLES is enabled, the ped's legs don't spread out, they stay together.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.