Persistant variable

Started by Liero, September 30, 2009, 09:45:07 PM

Previous topic - Next topic

Liero

I have a variable that controls certain actions of a characters attack data.  This variable is set in the character's intro state and cannot change during the course of the fight.  It is essentially a "groove" style similar to the CvS2 system.  The problem is that the variable resets to 0 at the start of the next round.  I don't want the player to be able to alter this variable in any round besides the first.  How can I make the value of this variable carry over into every other round?

Bastard Mami

teh cns has a persistant index option. also take a look at state 5900.

Liero

Heh wow ok.  A lot more simple than I thought it would have been.  Thanks for the help.