Blockland Forums > General Discussion
Why are variables being bitchy?
Sheath:
I know how to use VCE quite well. But is it just me, am I doing something wrong, or is there something iffy here.
Why can't I test a variable and have 3 events for VariableTrue? If I do:
ifValue > <var:nb_brick:variable> = 1 > 1 2
onvariabletrue > Lol
onvariabletrue > lol2
^^ that works fine, but if I go
ifValue > <var:nb_brick:variable> = 1 > 1 2 3
onvariabletrue > Lol
onvariabletrue > lol2
onvariabletrue > lol3
^^ that only does the first two
I don't see why its incapable of having more than one action occur if true. Furthermore, if I have this..
ifValue > <var:nb_brick:variable> = 1 > 1 2
onvariabletrue > Lol
onvariabletrue > lol2
ifValue > <var:nb_brick2:variable2> = 1 > 1 2
onvariabletrue > ohai
onvariabletrue > ohai2
The variables don't work at all.
Is VCE really this stubborn or what. I'm sick of having to work around this.
Orthone:
That last box is a range, not a list. 1 3 would activate events 1, 2, and 3. I'm not sure what you're asking for the second part. I could look at it in-game if you would like.
Sheath:
--- Quote from: Orthone on March 01, 2011, 10:51:40 PM ---That last box is a range, not a list. 1 3 would activate events 1, 2, and 3.
--- End quote ---
forget me, that could be the problem. Thanks so much, I'll give it a shot. <3
EDIT: Yep, thats whats breaking the other variables, thanks for clearing that up! ^_^
Awasp:
Your second problem is the last values at the end of the line are the range for the line numbers. Try the one thing on the bottom again but change the event numbers to 4 and 5 so it looks like this.
ifValue > <var:nb_brick2:variable2> = 1 > 4 5
Sheath:
--- Quote from: Awasp on March 01, 2011, 11:58:58 PM ---Your second problem is the last values at the end of the line are the range for the line numbers.
--- End quote ---
Ah thanks but that was just a typo in the post. :P