Well, after hammering away at script for a while, I've pinned down a problem I'm having with isNil.
The following code does not return, ever:
if (isNil _tmr) then {
_tmr = (-120);}
Take out the "if... {" and the "}" and _tmr gets a value set of -120. I have to assume I'm coding the if statement wrong, but I can't for the life of me see anything off. I've tried a few variations on the condition, but no use there. (isNil ("_tmr")) doesn't work either. The only method for testing this is a simple
hint format ["%1",_tmr]
but I don't think that it's the testing method that is flawed.
Any help?