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


Author Topic: Where to put PetsetActionNodes and Animation groups on luascript.lua  (Read 3075 times)

0 Members and 1 Guest are viewing this topic.

Offline Xavier the vampire

  • Jr. Member
  • **
  • Posts: 21
  • Gender: Male
  • Vampire is dark gift you really become vampire.
    • View Profile
    • www.youtube.com
I don't know where to put for boss style on Russell, Johhny and Darby for Jimmy button moves this place? if IsButtonPressed(0, 0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")
elseif IsButtonPressed(1, 0) then
PedSetActionNode(gPlayer, "/Global/G_Johnny/Cinematic/ThroatGrab", "Act/Anim/G_Johnny.act")
elseif IsButtonPressed(14, 0) then
PedSetActionNode(gPlayer, "/Global/Offense/Medium/HeavyAttacks/StraightPunch", "Act/Anim/BOSS_Darby.act") and  LoadAnimationGroup("Russell")
  LoadAnimationGroup("Boxing")
  LoadAnimationGroup("G_Johnny")
  PlayerSetControl(1)
  CameraFollowPed(gPlayer)
  ClockSet(9, 30)
  ClockSetTickRate(0.0060000000521541)
  LaunchScript("SObjTest.lua") but I am suck at this from modding! Some people make a mistake not to work for Jimmy with 3 bosses styles on lua!  :cc_detective:  :unsure:  :hmm:

Offline c00ld0c26

  • The D0c
  • Moderator
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Where to put PetsetActionNodes and Animation groups on luascript.lua
« Reply #1 on: October 31, 2013, 12:41:44 PM »
Are you kiddin me? I just explained this to you in another topic, fixed your entire script.
Why are you asking this again in another topic?

Offline Xavier the vampire

  • Jr. Member
  • **
  • Posts: 21
  • Gender: Male
  • Vampire is dark gift you really become vampire.
    • View Profile
    • www.youtube.com
Re: Where to put PetsetActionNodes and Animation groups on luascript.lua
« Reply #2 on: November 01, 2013, 04:08:47 AM »
Are you sure you help me already my mod lua can work on my Bully? Thanks I almost forgot man Thanks for a help for lua code not working on another topic can you add me as buddy? I am so happy my mod lua works alot of button all the time and it work!

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Where to put PetsetActionNodes and Animation groups on luascript.lua
« Reply #3 on: June 07, 2014, 12:45:24 PM »
the area you pet and loadanimationgroup("Russell") you put 2 spaces after and