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:
@ -24,4 +24,4 @@ private _nozzle = _unit getVariable [QGVAR(nozzle), objNull];
|
||||
if (isNull _nozzle) exitWith {};
|
||||
|
||||
[_unit, _nozzle] call FUNC(dropNozzle);
|
||||
[_unit, "forceWalk", "ACE_refuel", false] call EFUNC(common,statusEffect_set);
|
||||
[_unit, "forceWalk", QUOTE(ADDON), false] call EFUNC(common,statusEffect_set);
|
||||
|
@ -43,12 +43,12 @@ if (isNull _nozzle || {_source != _nozzle getVariable QGVAR(source)}) exitWith {
|
||||
deleteVehicle _helper;
|
||||
};
|
||||
deleteVehicle _nozzle;
|
||||
|
||||
|
||||
// Restore ability to drag and carry this object
|
||||
_source setVariable [QEGVAR(dragging,canCarry), _source getVariable [QGVAR(canCarryLast), false], true];
|
||||
_source setVariable [QEGVAR(dragging,canDrag), _source getVariable [QGVAR(canDragLast), false], true];
|
||||
|
||||
[_source, "blockEngine", "ACE_Refuel", false] call EFUNC(common,statusEffect_set);
|
||||
[_source, "blockEngine", QUOTE(ADDON), false] call EFUNC(common,statusEffect_set);
|
||||
},
|
||||
"",
|
||||
localize LSTRING(ReturnAction),
|
||||
|
@ -23,8 +23,8 @@
|
||||
#define END_PFH \
|
||||
_unit setVariable [QGVAR(hint), nil]; \
|
||||
call EFUNC(interaction,hideMouseHint); \
|
||||
[_unit, "forceWalk", "ACE_refuel", false] call EFUNC(common,statusEffect_set); \
|
||||
[_unit, "blockThrow", "ACE_refuel", 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); \
|
||||
[_idPFH] call CBA_fnc_removePerFrameHandler;
|
||||
|
||||
params ["_unit", "_nozzle"];
|
||||
|
@ -80,7 +80,7 @@ params [
|
||||
_nozzle setVariable [QGVAR(attachPos), _attachPos, true];
|
||||
_nozzle setVariable [QGVAR(source), _source, true];
|
||||
|
||||
[_source, "blockEngine", "ACE_Refuel", true] call EFUNC(common,statusEffect_set);
|
||||
[_source, "blockEngine", QUOTE(ADDON), true] call EFUNC(common,statusEffect_set);
|
||||
_source setVariable [QGVAR(isConnected), true, true];
|
||||
_source setVariable [QGVAR(ownedNozzle), _nozzle, true];
|
||||
|
||||
@ -100,8 +100,8 @@ params [
|
||||
_unit call EFUNC(common,fixLoweredRifleAnimation);
|
||||
_unit action ["SwitchWeapon", _unit, _unit, 299];
|
||||
|
||||
[_unit, "forceWalk", "ACE_refuel", true] call EFUNC(common,statusEffect_set);
|
||||
[_unit, "blockThrow", "ACE_refuel", 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);
|
||||
|
||||
[_unit, _nozzle] call FUNC(startNozzleInHandsPFH);
|
||||
},
|
||||
|
Reference in New Issue
Block a user