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.
Script Error in default F2 2.7.3?
-
- Posts: 3
- Joined: Mon Jul 29, 2013 5:02 am
Re: Script Error in default F2 2.7.3?
'acre_sys_radio_currentRadioList' during this check is empty, '[]', like it should be.
-
- Posts: 3
- Joined: Mon Jul 29, 2013 5:02 am
Re: Script Error in default F2 2.7.3?
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!
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?
Though I had nothing to do with it's creation I'll thank you for the compliment anyway ![Razz :P](./images/smilies/icon_razz.gif)
![Razz :P](./images/smilies/icon_razz.gif)
- wolfenswan
- Posts: 1209
- Joined: Wed May 25, 2011 4:59 pm
Re: Script Error in default F2 2.7.3?
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).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.
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.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!
Folk ARPS Mission Making Template & FAQ
Helpful tools and guides for mission-makers
Our home-brewn scripting guides, snippets and more
My ARMA3 Missions - to download select a branch and pick "Download ZIP".
Helpful tools and guides for mission-makers
Our home-brewn scripting guides, snippets and more
My ARMA3 Missions - to download select a branch and pick "Download ZIP".