Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: gamerzod on May 10, 2015, 10:18:42 AM
-
How do I change fighting style for ped that I create in bully from lua?
after I set pedcreate, what code should I asign to it?
for basic fighting style and boss fighting style to a ped?
-
PEDNAME= PedCreateXYZ(PED.ID, X, Y, Z)
PedSetActionTree(PEDNAME, "/Global/FIGHTINGSTYLENAME", "Act/Anim/FIGHTINGSTYLENAME")
Example:
Sheldon = PedCreateXYZ(66,-507,322,31) -- Creates the ped
PedSetActionTree(Sheldon, "/Global/B_Striker_A", "Act/Anim/B_Striker_A") -- Change fighting style
-
I get the other problem
why when I set the luis jock fighting style to ped
"/Global/J_Grappler_A,"Act/Anim/J_Grappler_A.act",
when I am on player faction, the ped that spawn with luis jock fight style can't hit me, it can only hit me when i change jimmy faction
and are there any way to make the ped hit me without using the lua code to changing my faction to bullies or other faction
-
help me
-
Script spawned peds can't harm you if have 100% respect with them.
Use this: PedSetTypeToTypeAttitude(2, 13, 2)
-
thank you
-
Script spawned peds can't harm you if have 100% respect with them.
Use this: PedSetTypeToTypeAttitude(2, 13, 2)
or by a simple way... search attitude.dat in config>dat ... change the faction respect from adore to another (abhor,averse,dispassionate, or dig) ... i forget the number of player....search it by yourself if you want it ._.
-
Script spawned peds can't harm you if have 100% respect with them.
Use this: PedSetTypeToTypeAttitude(2, 13, 2)
or by a simple way... search attitude.dat in config>dat ... change the faction respect from adore to another (abhor,averse,dispassionate, or dig) ... i forget the number of player....search it by yourself if you want it ._.
The attitude.dat method doesn't work if you beat the game since it gets overriden by another script that makes everyone like Jimmy.
Imo the script method is cleaner.
-
Script spawned peds can't harm you if have 100% respect with them.
Use this: PedSetTypeToTypeAttitude(2, 13, 2)
or by a simple way... search attitude.dat in config>dat ... change the faction respect from adore to another (abhor,averse,dispassionate, or dig) ... i forget the number of player....search it by yourself if you want it ._.
The attitude.dat method doesn't work if you beat the game since it gets overriden by another script that makes everyone like Jimmy.
Imo the script method is cleaner.
to PLAYER it ain't work but to another ped , this method still work