Quote:
Originally posted by stomper_TK
Well they gave me this weird example for the Chapter 5 thingy.
I just have allways sucked ass at math also.. But I've someow exceeded Algebra.
NPC Code:
myvar = 1;
if (myvar==1) { ... }
I just did not get that stuff.
|
variables store numbers
the code sets the variable 'myvar' to 1
then if the variable 'myvar' is equal to 1, then it will execute the commands in the { ... }