YesNoOk
avatar

Invincibility  (Read 42372 times)

Started by Chon Wang, February 24, 2004, 05:58:48 pm
Share this topic:
Re:Invincibility
#21  February 27, 2004, 04:07:09 pm
  • *
  • Catch me if you can!
    • mugenko.mgbr.net
I like my code and it works  :D
There only exists three kind of people: the ones who knows how to count and the other ones that can´t count.
Re:Invincibility
#22  February 27, 2004, 04:10:25 pm
  • ******
  • In after lock
    • mugenguild.com/~messatsu/index.html
; countdown
[state -3]
type = VarAdd
var(5) = -1
trigger1 = var(5)

; resets
[State -3]
type = VarSet
var(5) = 0
trigger1 = var(5) < 0

when var(5) = 0 the trigger will be false at 0.  It will never reach below 0.  


Many people risk their lives everyday by having Mugen.
Re:Invincibility
#23  February 27, 2004, 04:12:18 pm
  • ******
    • Germany
:_blank:

'nuff said.
Re:Invincibility
#24  February 27, 2004, 04:17:56 pm
  • *****
  • Tends to lose track of things a lot. :/
    • www.mugenguild.com/~winane/
Well, i think i know what a state and a trigger are  ;D
But, you're implying that you don't know what a state controller is? :)

Quote
When var(x) < 0 you can´t trigger var(x)? I mean, trigger1 = var(x) returns to sfalse if var(x) <= 0 or only when var(x) = 0?
Eh?  var(x) evaluates to false if var(x)=0.  Not sfalse.  And it evaluates to true if var(x)!=0.
Still quite busy.

(Yes, I intend to deal with that stuff eventually, but kinda can't just yet, sorry. :/ )
Last Edit: February 27, 2004, 04:18:13 pm by Digu Nut
Re:Invincibility
#25  February 27, 2004, 04:32:18 pm
  • *
  • Catch me if you can!
    • mugenko.mgbr.net
Messatsu: Hum... i didn´t notice that. Thanks :D

Digu Nut: Oof! By the way, i know her. I call her as "sctrl" when she and i are on the bed :D
There only exists three kind of people: the ones who knows how to count and the other ones that can´t count.