Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Enderman on September 09, 2014, 05:14:39 AM

Title: How to block without using fire crackred
Post by: Enderman on September 09, 2014, 05:14:39 AM
How to block :)
Title: Re: How to block without using fire crackred
Post by: DaBOSS54320 on September 09, 2014, 05:45:27 AM
The lock on button. (duh)
Title: Re: How to block without using fire crackred
Post by: SWEGTA on September 09, 2014, 08:42:25 AM
I think he's asking on how to block without using a weapon, whilst using a different fighting style.
Title: Re: How to block without using fire crackred
Post by: WhenLifeGivesYouLemons on September 09, 2014, 03:00:42 PM
Talk about "Last request"

Just use Player style
Title: Re: How to block without using fire crackred
Post by: DaBOSS54320 on September 09, 2014, 03:14:00 PM
He should be more specific.

I'm pretty sure there is an action node for blocking. The same answer to all your requests, there is an action node for it.
Title: Re: How to block without using fire crackred
Post by: c00ld0c26 on September 10, 2014, 01:49:19 AM
I tried using the blocking action node for Russell Mod, but it got buggy and interfered with the rest of my binded nodes and the fighting style.
Title: Re: How to block without using fire crackred
Post by: DaBOSS54320 on September 10, 2014, 05:03:54 AM
Use PedSetActionNode for the block, and ExecuteActionNode for the moves. That may work...
Title: Re: How to block without using fire crackred
Post by: Enderman on September 10, 2014, 07:03:45 AM
Like this PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act") :)
Title: Re: How to block without using fire crackred
Post by: Enderman on September 10, 2014, 07:27:13 AM
But i don't know ExecuteActionNode is :(
Title: Re: How to block without using fire crackred
Post by: DaBOSS54320 on September 10, 2014, 03:21:33 PM
if IsButtonBeingPressed(10,0) then
  PedSetActionNode(gPlayer, INSERT BLOCKING ACTION NODE HERE)
elseif IsButtonBeingPressed(6,0) then
  ExecuteActionNode(gPlayer, INSERT ATTACK #1 HERE)
elseif IsButtonBeingPressed(9,0) then
  ExecuteActionNode(gPlayer, INSERT GRAPPLE MOVE HERE)
end

I don't know the nodes, but there is a template you can fill in if you obtain the action nodes. Not 100% sure it will work but hopefully it will.
Title: Re: How to block without using fire crackred
Post by: WhenLifeGivesYouLemons on September 10, 2014, 09:08:05 PM
But i don't know ExecuteActionNode is :(

It's almost the same thing as PedSetActionNode.
Title: Re: How to block without using fire crackred
Post by: DaBOSS54320 on September 10, 2014, 10:06:45 PM
It works different though.

PedSetActionNode will SET the action node, no matter what the ped is doing at the moment.

ExecuteActionNode will EXECUTE an ENTIRE action node before letting the ped do anything else.

Also ExecuteActionNode will crash the script if the node specified is invalid. PedSetActionNode will just do nothing if the node is invalid.