Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Massive10 on November 29, 2013, 05:54:33 PM
-
how to mixed jimmy fighting style and gary boss fighting style through LUA ? someone help
-
Do you want to mix like, 1 moment he uses Johnny's style and 1 moment he uses Gary's style or you want him to use random moves from each style?
-
random
-
Use PedSetActionNode in repeat
Eample :
repeat
PedSetActionNode(Ped,"Path/Move")
Wait(xxx)
PedSetActionNode(Ped,"Path/Move")
Wait(xxxxx)
PedSetActionNode(Ped,"Path/Move")
Wait(0)
until XXXXX
Its not completely random as u only have the moves in a certain line but if I could share tables with the community I would of show you how to make it nearly 99% random.
-
ouh k :hmm: how about 1 moment he use johnny fighting style and 1 moment he use gary fighting style ?
-
repeat
PedSetActionTree(Ped, "/Global/FightingStyle", "Act/Anim/Style'sFile.act")
Wait(xxxxx)
PedSetActionTree(Ped, "/Global/FightingStyle", "Act/Anim/Style'sFile.act")
Wait(0)
until XXXXXXXXX
Dont forget to load the animations for the fighting styles.
-
Or you can make it without tables too in another way.
-
How ?
-
repeat
PedSetActionTree(Ped, "/Global/FightingStyle", "Act/Anim/Style'sFile.act")
Wait(xxxxx)
PedSetActionTree(Ped, "/Global/FightingStyle", "Act/Anim/Style'sFile.act")
Wait(0)
until XXXXXXXXX
Dont forget to load the animations for the fighting styles.
XXXXX?
-
How ?
I dont think that i should share that yet. but i will share it later not now.