Invincibility

Started by Chon Wang, February 24, 2004, 05:58:48 PM

Previous topic - Next topic

Chon Wang

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.

Messatsu

; 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.  

Quote from: Bastard Wolf on May 12, 2008, 05:02:05 PM
Many people risk their lives everyday by having Mugen.

Valodim


Winane

#23
Quote from: Chon Wang on February 27, 2004, 04:02:07 PM
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? :)

QuoteWhen 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. :/ )

Chon Wang

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.