-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in CBA_fnc_taskDefend #488
Comments
Looks like it was fixed in #440
|
Yes. See that. Waiting for release. using: would be do the trick as well. |
Additional fix probably required for I suspect the use of optional evaluation via the Current code: (around line 78) i.e. change to full evaluation: since next line unconditionally requires non-empty array: |
What do you mean by "optional evaluation" ? |
Sorry, you are right. I misinterpreted that line plus the original error description. I was just trying to solve the cause of the same error I am getting in It seems it will already be fixed with the original fix of this task. |
Good to hear. We will update as soon as 1.64 vanilla Arma is released (some changes are necessary with Joint Rails that require the Arma update) |
Arma 3 Version:
1.62
(stable)CBA Version:
3.0.0
(stable )Mods:
@CBA_A3
Description:
CBA_fnc_taskDefend line 47
[_statics,{(_x emptyPositions "Gunner") > 0},true] call CBA_fnc_filter;
changes the _statics array from
[object, object]
to
[true, true]
which is trowing an error
because of
_x assignAsGunner ([true, true] deleteAt 0);
Steps to reproduce:
Spawn a group on position where are 2 static MG
Where did the issue occur?
RPT log file:
The text was updated successfully, but these errors were encountered: