Quote:
|
You probably already know this, but just in case you dont... setting a variable as an array to use in the condition isn't necessary. You can just put {num,num2,num3,etc} directly in the if ().
|
I know that.
Quote:
|
So is VeX_RaT_Boy just using it once or are you assuming that? O.o
|
My name is Kjetil.
I got 2 reasons for using a variable;
1. It looks nice if your going to have the array long: if (blah in {1,2,3})
That is ok, but what if it was up to 50?
2. When I script with variables I normally use it in more than one place.
Even though it wasn't more than 1 in this case, I did not post the whole script. It could've been longer.