mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
General - Use QUOTE(ADDON)
for status effects (#10195)
Use ADDON for status effects
This commit is contained in:
@ -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
|
||||
|
@ -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),
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user