lo all,
i'm not exactly new to OFP scripting but it has been a while, my problem is this :
I have one script that calls another with a single numeric variable being the only passed parameter :
_i = 0
_total = Count MyArray
#loop
...
[_i] exec "script.sqs" <----------- This is the bugger !
_i = _i + 1
?(_i < _total):goto "loop"
exit
So, it looks simple enough but for some reason my '_i' variable is being transmuted to a group, (West Alpha Black), !
But only when it calls the other script, if i keep track of it within the calling script it's value/type doesn't change.
Any input will be greatly appreciated.
thx