Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Enderman on January 23, 2015, 07:28:22 AM

Title: Fix this
Post by: Enderman 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")
Title: Re: Fix this
Post by: AfterLife on January 23, 2015, 08:31:17 AM
What is wrong with that?
Title: Re: Fix this
Post by: Unknownsoldier 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")
Title: Re: Fix this
Post by: AfterLife 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.
Title: Re: Fix this
Post by: Unknownsoldier 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")
Title: Re: Fix this
Post by: DaBOSS54320 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