Bully-Board

Bully Modding Section => Script Modding => LUA Scripting Help => Topic started by: Xavier the vampire on October 31, 2013, 12:31:01 PM

Title: Where to put PetsetActionNodes and Animation groups on luascript.lua
Post by: Xavier the vampire on October 31, 2013, 12:31:01 PM
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:
Title: Re: Where to put PetsetActionNodes and Animation groups on luascript.lua
Post by: c00ld0c26 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?
Title: Re: Where to put PetsetActionNodes and Animation groups on luascript.lua
Post by: Xavier the vampire 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!
Title: Re: Where to put PetsetActionNodes and Animation groups on luascript.lua
Post by: Unknownsoldier on June 07, 2014, 12:45:24 PM
the area you pet and loadanimationgroup("Russell") you put 2 spaces after and