Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Mick3Mouse on November 25, 2013, 03:25:59 AM

Title: Set somones fighting style trugh lua without spawning them
Post by: Mick3Mouse on November 25, 2013, 03:25:59 AM
I have tryed to set somones fighting style trugh lua and it dont work.
I have tryed many stuff but dont work:

PedSetActionTree(30, "/Global...........
Tryed to set the fighting style to that peds id
Nothing happends

PedSetActionTree(N_Casey, "/Global..........
Bugs the whole game, makes jimmy to a ped (Not able to open doors)

local Casey = N_Casey
PedSetActionTree(Casey, "/Global..............
Same thing as above


You know how to do this without to crash the game.
Please tell me

Thanks :)

Title: Re: Set somones fighting style trugh lua without spawning them
Post by: denifarropilha on November 25, 2013, 07:19:30 PM
I think it's impossible to change fighting styles trough LUA :cheersad:
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: GaryHarrington on November 25, 2013, 10:18:56 PM
I think it's impossible to change fighting styles trough LUA :cheersad:

That wasn't impossible at all
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: WhenLifeGivesYouLemons on November 26, 2013, 12:11:48 AM
^ he means peds through freeroam its "Impossible".

Idk maybe there is away but we are not doing it right.
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: c00ld0c26 on November 26, 2013, 02:54:43 AM
Easy as cake.
Use PedGetTargetedPed() and bind a button so all u gotta do is lock on a ped and press that button to change its style.
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: Mick3Mouse on November 26, 2013, 02:56:09 AM
I know c00l.

But i mean like all caseys that spawns will have another style
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: c00ld0c26 on November 26, 2013, 04:45:29 AM
Try using he's model name in the PedAetActionTree command.
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: Mick3Mouse on November 26, 2013, 04:48:01 AM
I did that lol. You see in the topic
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: Walter20210 on November 30, 2013, 12:59:07 AM
C00ld0c read before posting xDDD

And for now is impossible.
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: deadpoolXYZ on November 30, 2013, 03:03:45 PM
+1 reason ide modding is still usefull until someone finds out how to do it via LUA.
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: Mick3Mouse on November 30, 2013, 03:14:51 PM
I know, but i cant mod ide :/

it crashes all the time.
Title: Re: Set somones fighting style trugh lua without spawning them
Post by: deadpoolXYZ on November 30, 2013, 03:42:48 PM
I know, but i cant mod ide :/

it crashes all the time.

I'm about to end this year of school in a week or two. I'm probably coming back to bully modding so I can help you or anyone else.