News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: HOW  (Read 2946 times)

0 Members and 1 Guest are viewing this topic.

Offline Massive10

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
HOW
« on: November 29, 2013, 05:54:33 PM »
how to mixed jimmy fighting style and gary boss fighting style through LUA ? someone help

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: HOW
« Reply #1 on: November 29, 2013, 06:10:45 PM »
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?

Offline Massive10

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: HOW
« Reply #2 on: November 29, 2013, 06:58:15 PM »
random

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: HOW
« Reply #3 on: November 29, 2013, 07:14:03 PM »
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.


Offline Massive10

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: HOW
« Reply #4 on: November 29, 2013, 07:22:31 PM »
ouh k  :hmm: how about 1 moment he use johnny fighting style and 1 moment he use gary fighting style ?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: HOW
« Reply #5 on: November 29, 2013, 07:33:55 PM »
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.

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: HOW
« Reply #6 on: November 30, 2013, 12:54:20 AM »
Or you can make it without tables too in another way.

Offline Massive10

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: HOW
« Reply #7 on: November 30, 2013, 01:49:32 AM »
How ?

Offline GaryHarrington

  • A Guy Who Likes Open World and FPS Games
  • Sr. Member
  • ***
  • Posts: 515
  • Gender: Male
  • Just Love Bully and GTA ...Nothing Interested
    • View Profile
Re: HOW
« Reply #8 on: November 30, 2013, 05:01:54 AM »
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?
« Last Edit: December 03, 2013, 11:09:55 PM by GaryHarrington »

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: HOW
« Reply #9 on: December 03, 2013, 07:57:03 PM »
How ?

I dont think that i should share that yet. but i will share it later not now.