LordGolias/sqf

Can't interpret statement on Macro

Opened this issue · 2 comments

https://github.com/acemod/ACE3/blob/c9ad92e92d26f929e3cb78a53743585e5ffa20d8/addons/medical_gui/functions/fnc_collectActions3D.sqf#L20-L24
The interesting thing here is that the first 5 work fine. And although they all do the same. The last one fails.
atom_2018-07-30_10-43-00

Same here: https://github.com/acemod/ACE3/blob/c9ad92e92d26f929e3cb78a53743585e5ffa20d8/addons/medical_gui/functions/fnc_updateUIInfo.sqf#L27

But this time only LeftArm/RightArm don't work. And they are in the middle of the array.

Ohh interesting. If I change
ELSTRING(medical_treatment,LeftArm) ,ELSTRING(medical_treatment,RightArm) , to
ELSTRING(medical_treatment,LeftArm), ELSTRING(medical_treatment,RightArm),
The error goes away.

Same
https://github.com/acemod/ACE3/blob/c9ad92e92d26f929e3cb78a53743585e5ffa20d8/addons/medical_treatment/functions/fnc_findMostEffectiveWound.sqf#L48
atom_2018-07-30_10-57-51

Again. It's the space after the ) that causes it. Changing
EGVAR(medical_damage,woundClassNames) select to
EGVAR(medical_damage,woundClassNames)select
fixes it here.

https://github.com/acemod/ACE3/blob/c9ad92e92d26f929e3cb78a53743585e5ffa20d8/addons/medical_treatment/functions/fnc_handleBandageOpening.sqf#L89
atom_2018-07-30_11-07-26

No spaces involved here. Adding them changes nothing.

Yup kinda same here, but got IndexError: list index out of range.
Line is : [_args, {CALLM(gStimulusManager, "postMethodAsync", _this);}] remoteExecCall["call", 0, false];

If someone is able to fix that, I take it!