Results 1 to 4 of 4

Thread: Xkower's lua custom action idea

  1. #1
    Join Date
    April 19th, 2014
    Location
    Poland
    Posts
    211
    Level
    36

    Lightbulb Xkower's lua custom action idea

    I got an idea for lua scripted action that will check if object is on the ground and if the object is faneilly on the ground it will go into state which is going to be set on Var1 and also if you put 1 on Var2 when the object will land on the ground it will play the sound setted on object's AttackSound.
    I will need a action like this for some of my concepts (like a enemy that will jump and then after landing it will shoot at you, or mine-like custom weapon ring)
    Amateur of wading,drawing and Match

  2. #2
    Join Date
    April 19th, 2012
    Location
    Skype
    Posts
    1,441
    Level
    30
    Heh heh.
    kibiSwX.png

  3. #3
    Join Date
    March 25th, 2010
    Posts
    1,442
    Level
    58
    I'll write up a script for you later on when I feel like messing with Lua again. I haven't touched Lua (or SRB2, for that matter) in forever.

    @STC: It's fairly simple, but if you don't know Lua at all, even simple things can be a challenge.
    Quote Originally Posted by SRB2
    <Mystyc Cheez> I ****ING QUIT
    Mystyc Cheez left the game
    <~Sky> Am I too awesome or something?
    <X\Wind> Why is everyone on red...
    <X\Wind> Is Sky that awesome?
    Quote Originally Posted by Steam
    20:48 - Sky: one does not simply ban him
    20:49 - Wind: we must gather the chaos emeralds and blast him

  4. #4
    Join Date
    February 14th, 2015
    Posts
    104
    Level
    18
    you dont need a lua just use a bunny hop and then change the state cont the time to be on the ground the change the state to fire something then change the state to do the bunny hop again or in lua use p-objectontheground i dont know a lot about lua so sorry if i didnt help you sorry again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •