YesNoOk
avatar

Var Not Reseting Every Stage. (Read 315 times)

Started by ShunpoHadouken, June 11, 2009, 06:50:54 pm
Share this topic:
Var Not Reseting Every Stage.
#1  June 11, 2009, 06:50:54 pm
  • **
Was It possible?  ???
I Mean When You're in Stage 1 (Level 1), You Have Your Var(0) = 10.
Then on the next stage, it will remain, still you have Var(0) = 10.

thanks.
Thanks For Any Help!!!
Re: Var Not Reseting Every Stage.
#2  June 11, 2009, 07:00:34 pm
  • ******
  • [E]
    • Mexico

  • Online
yes, check kfm's cns file and the state 5900 of the common1.cns
Re: Var Not Reseting Every Stage.
#3  June 12, 2009, 04:41:56 am
  • **
Oh Great.Thanks. So it was possible.

anyway, it works but im not sure if im right, am i right on doing it?

I change the State 5900 like this.
[mcode][Statedef 5900]
type = S

[State 5900, 1] ;Clear all int variables
type = null;VarRangeSet
trigger1 = roundsexisted = 0
value = 0

[State 5900, 2] ;Clear all float variables
type = null;VarRangeSet
trigger1 = roundsexisted = 0
fvalue = 0

[State 5900, 3] ;Intro for round 1
type = ChangeState
trigger1 = roundno = 1
value = 190[/mcode]

then, i use this.
[mcode]
IntPersistIndex = 0
FloatPersistIndex = 0[/mcode]

then my Var Not Reseting Every Stage.
thanks for help.
Thanks For Any Help!!!
Re: Var Not Reseting Every Stage.
#4  June 12, 2009, 08:08:42 pm
  • ******
  • [E]
    • Mexico

  • Online
use 60 instead of 0
Re: Var Not Reseting Every Stage.
#5  June 13, 2009, 06:19:56 am
  • **
Thanks For Any Help!!!
Re: Var Not Reseting Every Stage.
#6  June 13, 2009, 12:06:30 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
You're title and question are kind of contracting, it makes it soud like you want your var to reset but it wasn't doing it, judging by the title, I'm sure [E] was just confused.