Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Enderman on December 17, 2014, 05:04:03 AM

Title: Grapple
Post by: Enderman on December 17, 2014, 05:04:03 AM
Tell me how to do grapple moves when you grab someone not just press button then do grapple moves  :unsure:
Sorry my language was whack  :mellow:
Title: Re: Grapple
Post by: Screenracer on December 17, 2014, 07:08:12 AM
What do you mean? Are you wondering how to do grapple moves only if your grappling? Then use PedIsValid(PedGetGrappleTargetPed(gPlayer))

Heres an example.

elseif IsButtonPressed(1, 0) and PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
ExecuteActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")

That would do Russells powerbomb only if your grappling.
Title: Re: Grapple
Post by: WhenLifeGivesYouLemons on December 17, 2014, 12:35:44 PM
I think that's what he means.

Title: Re: Grapple
Post by: Unknownsoldier on December 17, 2014, 06:46:45 PM
AH! I get it. He means like to do a node when you grapple, and not have to press a button.
Title: Re: Grapple
Post by: Enderman on December 17, 2014, 06:55:11 PM
AH! I get it. He means like to do a node when you grapple, and not have to press a button.
And you you should be a sr member  >:D
Title: Re: Grapple
Post by: Enderman on December 17, 2014, 07:09:12 PM
What do you mean? Are you wondering how to do grapple moves only if your grappling? Then use PedIsValid(PedGetGrappleTargetPed(gPlayer))

Heres an example.

elseif IsButtonPressed(1, 0) and PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
ExecuteActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")

That would do Russells powerbomb only if your grappling.
But that doesn't work i use backbreaker when i grab a ped the i press -> but Jimmy don't do anything  :blink:
Title: Re: Grapple
Post by: Unknownsoldier on December 17, 2014, 09:31:07 PM
AH! I get it. He means like to do a node when you grapple, and not have to press a button.
And you you should be a sr member  >:D
u wot m8
Title: Re: Grapple
Post by: Phap on December 29, 2014, 08:51:27 PM
What do you mean? Are you wondering how to do grapple moves only if your grappling? Then use PedIsValid(PedGetGrappleTargetPed(gPlayer))

Heres an example.

elseif IsButtonPressed(1, 0) and PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
ExecuteActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")

That would do Russells powerbomb only if your grappling.
Please don't post false codes. Thank you.
Title: Re: Grapple
Post by: DaBOSS54320 on December 29, 2014, 08:53:31 PM
Change the act file to be "Act/Globals.act" and it should work.
Title: Re: Grapple
Post by: madnesscombatfan212 on December 30, 2014, 11:31:22 PM
What do you mean? Are you wondering how to do grapple moves only if your grappling? Then use PedIsValid(PedGetGrappleTargetPed(gPlayer))

Heres an example.

elseif IsButtonPressed(1, 0) and PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
ExecuteActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")

That would do Russells powerbomb only if your grappling.
Please don't post false codes. Thank you.
Which part is false? It looks okay to me.
Title: Re: Grapple
Post by: Phap on December 31, 2014, 03:32:04 PM
What do you mean? Are you wondering how to do grapple moves only if your grappling? Then use PedIsValid(PedGetGrappleTargetPed(gPlayer))

Heres an example.

elseif IsButtonPressed(1, 0) and PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
ExecuteActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")

That would do Russells powerbomb only if your grappling.
Please don't post false codes. Thank you.
Which part is false? It looks okay to me.
It looks okay, but it isn't. I tested it.
Title: Re: Grapple
Post by: DaBOSS54320 on December 31, 2014, 04:39:45 PM
What do you mean? Are you wondering how to do grapple moves only if your grappling? Then use PedIsValid(PedGetGrappleTargetPed(gPlayer))

Heres an example.

elseif IsButtonPressed(1, 0) and PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
ExecuteActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")

That would do Russells powerbomb only if your grappling.
Please don't post false codes. Thank you.
Which part is false? It looks okay to me.

The act file isn't a real file I believe.
Title: Re: Grapple
Post by: Unknownsoldier on December 31, 2014, 06:49:06 PM
What do you mean? Are you wondering how to do grapple moves only if your grappling? Then use PedIsValid(PedGetGrappleTargetPed(gPlayer))

Heres an example.

elseif IsButtonPressed(1, 0) and PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
ExecuteActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")

That would do Russells powerbomb only if your grappling.
Please don't post false codes. Thank you.
Which part is false? It looks okay to me.

The act file isn't a real file I believe.
It is a real file.

/Global/Actions/Grapples/Front/Grapples/GrappleMoves/TandemGrapple, Globals/BOSS_Russell.act i tested and works