Quote:
|
Originally Posted by jake13jake
So, what I'm trying to do is something like this
this.arr = {"0==1","1==1"};
but then later extract {false,true} out of that in another event. I know how to reference to variable names, but how do you... uh... get this problem done?
|
Well do an if statement to see if it is a one, if it is = true, if not = false?
Or create a 2d array, and then do this.arr[][1]= true; else this.arr[][0]=false,
*edit: forgot to add this*
then do an if (this.arr[][1]=="true"){ do this;}
I dont know GS2 so I dont know how to put it in code for you.
If that doesn't help, well will talk it in depth later.