YesNoOk
avatar

help needed..... (Read 293 times)

Started by dark byakuya, August 09, 2010, 01:26:12 am
Share this topic:
help needed.....
#1  August 09, 2010, 01:26:12 am
  • **
  • O.O!!!! おまえわアルファですか?
    • USA
does anyone know how to make a chars life or power refill  over time?
Oh no alpha is gonna blooow!! EVERYONE PANIC!!!!!!!!!!

GT

Re: help needed.....
#2  August 09, 2010, 01:40:49 am
  • *****
  • Don't fuck with me, Jack!
    • USA
Put this under statedef -2 (I'm not sure exactly how/when you want the meters to refill but eh)

[State -2]
type = poweradd
trigger1 = 1
value = 3

^----- Always gain power

[State -2]
type = lifeadd
trigger1 = 1
value = 3

^------ Always gain life.
Yeah Titiln, in fact, You Made Him
Re: help needed.....
#3  August 09, 2010, 02:50:59 am
  • ***
    • UK
Or, if you want to determine the speed of how your health/power increases, you can use this trigger.

[State -2]
type = lifeadd
trigger1 = time %5 = 0
value = 3

[State -2]
type = poweradd
trigger1 = time %5 = 0
value = 3

This means, health/power will increase by 3, each 5 frames.

2OS

Re: help needed.....
#4  August 09, 2010, 03:06:10 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
Or

[State -2]
type=lifeadd
trigger1=time>=0&&timemod=5,1
value=3

[State -2]
type=poweradd
trigger1=time>=0&&timemod=5,1
value=3


Hardly anyone I know makes use of timemod so I'm just throwin it out there, really this works same as above, no difference


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: help needed.....
#5  August 09, 2010, 11:00:01 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
Because the docs recommend usage of %.
Re: help needed.....
#6  August 09, 2010, 06:52:53 pm
  • **
  • O.O!!!! おまえわアルファですか?
    • USA
thank you all for the help!
Oh no alpha is gonna blooow!! EVERYONE PANIC!!!!!!!!!!