if (condition1)
{
value1=1;
}
Sets value1 to 1, but whenever condition1=false value1 is automatically set to 0.
I did not write
if (condition1)
{
value1=1;
}
else
{
value1=0;
}
So why is value1 always 0 when condition1=false?
I can get value1 to remain 1 until I change it in easylanguage, but can't seem to do it in ninjascript.
Thanks in advance.

Comment