? :
flag ? True Result : False Result;
Like:
NPC Code:
if (playerenters){
a = 1;
if (a == 1){
a = 1;
} else if (a != 1){
a = 2;
}
message #v(a);
}
is the same as:
NPC Code:
if (playerenters){
a = 1;
a = a == 1 ? 1 : 2;
message #v(a);
}
:P For those who doesn't know.
Nice technique though Hev... Haven't thought of it like that, but I guess they also work.