Arma 3
Drongos Active Protection System
Script error when its trying to deduct ammo. (APS type Medium and Heavy)
Hello,
Sorry for the bad English in advance.

I dont know if bug reports suppost to go here, i dont start alot of these.

Recently started to use the APS mod and i really like it.
But when i was trying to test it within our mission template i got an error (shown below)
And i noticed that the APS type medium and heavy didn't count down the charges.

So i did some throuble shooting.
How i set it up:
Empty VR map
DAPS_Options(blast size small) > synced to > DAPS_AssignAPS (Medium) > synced to > B_APC_WHeeled_01_cannon_F + one extra to drive in
DAPS_Options(blast size Big) > synced to > DAPS_AssignAPS (Heavy) > synced to > B_MBT_01_TUSK_F + one extra to drive in
A few enemy AI with AT and 1 dude for myself
I tested in "Play scenario in multiplayer".

if i delete the TUSK's with its modules so the Badger is the only vehicle. It still gives the error.
When i switch the APS type to Trophy HV there is no error.(didn't test all types)

The following code is from my RPT.log maybe it can help?

21:09:11 Error in expression <s=_this select 1; _a=_this select 2; if(_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:11 Error position: <_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:11 Error Undefined variable in expression: _s 21:09:11 Error in expression <Blast; _a=_v getVariable"dapsAmmo"; [_v,_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:11 Error position: <_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:11 Error Undefined variable in expression: _s 21:09:11 Unknown attribute img 21:09:16 Error in expression <s=_this select 1; _a=_this select 2; if(_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:16 Error position: <_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:16 Error Undefined variable in expression: _s 21:09:16 Error in expression <Blast; _a=_v getVariable"dapsAmmo"; [_v,_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:16 Error position: <_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:16 Error Undefined variable in expression: _s 21:09:17 Unknown attribute img 21:09:20 Error in expression <s=_this select 1; _a=_this select 2; if(_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:20 Error position: <_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:20 Error Undefined variable in expression: _s 21:09:20 Error in expression <Blast; _a=_v getVariable"dapsAmmo"; [_v,_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:20 Error position: <_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:20 Error Undefined variable in expression: _s 21:09:20 Unknown attribute img 21:09:22 Error in expression <s=_this select 1; _a=_this select 2; if(_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:22 Error position: <_s=="LEFT")then{_v setVariable["dapsAmmo> 21:09:22 Error Undefined variable in expression: _s 21:09:22 Error in expression <Blast; _a=_v getVariable"dapsAmmo"; [_v,_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:22 Error position: <_s,_a]call DAPS_fnc_DeductAmmo; [_v,_s,_> 21:09:22 Error Undefined variable in expression: _s 21:09:22 Unknown attribute img

Kind regards Brainless_Ben
< >
Showing 1-1 of 1 comments
Drongo  [developer] 6 Mar, 2022 @ 1:22pm 
Thanks for the report, I'll try to fix the error when I have time.
< >
Showing 1-1 of 1 comments
Per page: 1530 50