News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Fix this  (Read 2542 times)

0 Members and 2 Guests are viewing this topic.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Fix this
« on: January 23, 2015, 07:28:22 AM »
can someone fix this code PedSetActionNode(gPlayer, "/Global/J_Striker_A/Offense/Medium/Actions/Grapples/Front/Grapples/GrappleAttempt", "Act/Anim/J_Striker_A.act")

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: Fix this
« Reply #1 on: January 23, 2015, 08:31:17 AM »
What is wrong with that?

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Fix this
« Reply #2 on: January 23, 2015, 11:31:54 PM »
naaah, don't use that. That is probably not even a node xD Use this one:

PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: Fix this
« Reply #3 on: January 24, 2015, 03:40:09 AM »
naaah, don't use that. That is probably not even a node xD Use this one:

PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
^ Kovn already has this.
I think he means the Jock Jump Tackle.

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Fix this
« Reply #4 on: January 24, 2015, 03:45:12 AM »
naaah, don't use that. That is probably not even a node xD Use this one:

PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
^ Kovn already has this.
I think he means the Jock Jump Tackle.
If he want's the dive, this is it: ExecuteActionNode(gPlayer, "/Global/J_Damon/Offense/SpecialStart/StartRun", "Act/Anim/J_Damon.act")

If he wants the regular tackle, he can switch to Ted's style, then press melee attack key. Or, something I have never tried, is if you change to a Jock's style, and use this node: PedSetActionNode(gPlayer, "/Global/Actions/Grapples/RunningTakedown", "Act/Globals/GlobalActions.act")

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Fix this
« Reply #5 on: January 25, 2015, 11:27:11 PM »
Code: [Select]
function main()
  while true do
    if IsButtonBeingPressed(9,0) and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
      ExecuteActionNode(gPlayer,"/Global/J_Damon/Offense","Act/Anim/J_Damon.act")
    elseif PedIsValid(PedGetGrappleTargetPed(gPlayer)) and PedIsPlaying(gPlayer,"/Global/J_Damon/Offense","Act/Anim/J_Damon.act") and PedGetNodeTime(gPlayer) > 1 then
      PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Mount/MountIdle","Act/Globals.act")
    end
    Wait(0)
  end
end