Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: AfterLife on June 02, 2015, 09:48:56 AM

Title: Run without punching
Post by: AfterLife on June 02, 2015, 09:48:56 AM
How do I run without punching first when using another style?
Title: Re: Run without punching
Post by: DaBOSS54320 on June 02, 2015, 10:16:26 AM
I've heard from other members before that if you press forward and the sprint button at the exact same time you'll skip the punch, but what I usually do is repeatedly set the player AI and that just seems to work for some reason. Generally you can just do...

PedSetActionTree(gPlayer,"/Global/G_Striker_A","Act/Anim/G_Striker_A.act")
while true do
  PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
  Wait(0)
end
Title: Re: Run without punching
Post by: AfterLife on June 02, 2015, 10:29:08 AM
I've heard from other members before that if you press forward and the sprint button at the exact same time you'll skip the punch, but what I usually do is repeatedly set the player AI and that just seems to work for some reason. Generally you can just do...

PedSetActionTree(gPlayer,"/Global/G_Striker_A","Act/Anim/G_Striker_A.act")
while true do
  PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
  Wait(0)
end
Thanks.

Edit; But when I use it, all my codes don't work anymore. I can't use the nodes or the strafe.