Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Goatth on January 26, 2015, 06:42:35 PM

Title: lua help again
Post by: Goatth on January 26, 2015, 06:42:35 PM
here's again.. hope this is not considered flooding :wacko:
what is the command to add the strafe code?

example:
Code: [Select]
if IsButtonBeingPressed(10, 0) while IsMoving then do
     ExecuteActionNode("/Global/G_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverri:de/Combat/CombatBasic", "Act/Anim/G_Striker_A.act")
 end
when i try to compile i get that:
luac: lua.lua:48: 'then' expected near 'while'

someone?
Title: Re: lua help again
Post by: DaBOSS54320 on January 26, 2015, 08:42:04 PM
Check this mod (http://www.mediafire.com/download/a44szyt8o54l9c8/Style+Selector+with+Strafing.rar) out. It's open source.
Title: Re: lua help again
Post by: Goatth on January 26, 2015, 08:46:00 PM
thank's A LOT  daboss.. you're a boss  :D