Page 1 of 1

Script Error in default F2 2.7.3?

Posted: Mon Jul 29, 2013 6:16 am
by CaseMonster
On the most recent F2 I keep getting a generic expression script error on
f\common\gear\fa_ACRE_clearRadios.sqf , Line 13

waitUntil{(count acre_sys_radio_currentRadioList) > 0};

I've tried different permutations of this check >=, != to [], etc... and nothing seems to work.

Re: Script Error in default F2 2.7.3?

Posted: Mon Jul 29, 2013 6:18 am
by CaseMonster
'acre_sys_radio_currentRadioList' during this check is empty, '[]', like it should be.

Re: Script Error in default F2 2.7.3?

Posted: Mon Jul 29, 2013 6:27 am
by CaseMonster
Ah just found out my problem, i ran an #include acre...yadda yadda.sqf instead of the execVM on it. I guess that's why the waituntil wouldn't work? It's late, I probably shouldn't be working on this.

Fantastic work on the F2 guys, the hodge-podge collection of scripts that me and my group's mission makers used to use could never stand up to this!

Re: Script Error in default F2 2.7.3?

Posted: Tue Aug 06, 2013 9:15 am
by EBass
Though I had nothing to do with it's creation I'll thank you for the compliment anyway :P

Re: Script Error in default F2 2.7.3?

Posted: Tue Aug 06, 2013 10:32 am
by wolfenswan
Ah just found out my problem, i ran an #include acre...yadda yadda.sqf instead of the execVM on it. I guess that's why the waituntil wouldn't work? It's late, I probably shouldn't be working on this.
Good to hear that you worked it out. I didn't write the ACRE component (Cam did that) but using include might indeed be a problem if it starts the waitUntil before the variable in question is initialized in any way (is Nil so to say).
Fantastic work on the F2 guys, the hodge-podge collection of scripts that me and my group's mission makers used to use could never stand up to this!
Thank you for the flowers. F2 was what me got started on ARMA mission making and is still an incredibly convenient tool. Check out our scripting section btw., basically all of the stuff there is made with F2 in mind.