7171
General Discussion / Re: Why are variables being bitchy?
« on: March 02, 2011, 03:12:28 AM »
I spent ages avoiding variables in programming, my creations were mighty stuff as a result.
Its just simple math.
ifValue > <var:nb_brick:variable> = 1 > 1 3
onvariabletrue > Lol
onvariabletrue > lol2
onvariabletrue > lol3
in simple terms, it means this...
If the variable named "variable" stored on brick named "brick" is equal to one, do functions 1 to 3.
If the above is true, lol
If the above is true, lol2
If the above is true, lol3
Its just simple math.
ifValue > <var:nb_brick:variable> = 1 > 1 3
onvariabletrue > Lol
onvariabletrue > lol2
onvariabletrue > lol3
in simple terms, it means this...
If the variable named "variable" stored on brick named "brick" is equal to one, do functions 1 to 3.
If the above is true, lol
If the above is true, lol2
If the above is true, lol3