General - Use QUOTE(ADDON) for status effects (#10195)

Use ADDON for status effects
This commit is contained in:
johnb432
2024-08-12 15:15:09 +02:00
committed by GitHub
parent 43d42c85cd
commit ada7b93219
23 changed files with 59 additions and 59 deletions

View File

@ -38,8 +38,8 @@ if (_actionID != -1) then {
_unit removeAction _actionID;
_unit setVariable [QGVAR(ReleaseActionID), nil];
};
[_unit, "forceWalk", "ACE_rearm", false] call EFUNC(common,statusEffect_set);
[_unit, "blockThrow", "ACE_rearm", false] call EFUNC(common,statusEffect_set);
[_unit, "forceWalk", QUOTE(ADDON), false] call EFUNC(common,statusEffect_set);
[_unit, "blockThrow", QUOTE(ADDON), false] call EFUNC(common,statusEffect_set);
if (_unholster) then {
REARM_UNHOLSTER_WEAPON

View File

@ -19,8 +19,8 @@
params ["_dummy", "_unit"];
REARM_HOLSTER_WEAPON;
[_unit, "forceWalk", "ACE_rearm", true] call EFUNC(common,statusEffect_set);
[_unit, "blockThrow", "ACE_rearm", true] call EFUNC(common,statusEffect_set);
[_unit, "forceWalk", QUOTE(ADDON), true] call EFUNC(common,statusEffect_set);
[_unit, "blockThrow", QUOTE(ADDON), true] call EFUNC(common,statusEffect_set);
[
TIME_PROGRESSBAR(5),

View File

@ -36,8 +36,8 @@ if (_vehicle == _unit) exitWith {
[_unit, _magazineClass, _rounds] call EFUNC(csw,reload_handleReturnAmmo);
};
[_unit, "forceWalk", "ACE_rearm", true] call EFUNC(common,statusEffect_set);
[_unit, "blockThrow", "ACE_rearm", true] call EFUNC(common,statusEffect_set);
[_unit, "forceWalk", QUOTE(ADDON), true] call EFUNC(common,statusEffect_set);
[_unit, "blockThrow", QUOTE(ADDON), true] call EFUNC(common,statusEffect_set);
private _dummy = [_unit, _magazineClass] call FUNC(createDummy);
[_dummy, _unit] call FUNC(pickUpAmmo);