Explosives - Add "ace_explosives_setup" CBA Event (#9197)

This commit is contained in:
Zachary Dunn 2023-06-20 16:36:57 -03:00 committed by GitHub
parent 49f4ea23e7
commit 864d2e9eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -187,6 +187,7 @@ GVAR(TweakedAngle) = 0;
_unit setVariable [QGVAR(PlantingExplosive), true];
[{_this setVariable [QGVAR(PlantingExplosive), false]}, _unit, 1.5] call CBA_fnc_waitAndExecute;
[QGVAR(setup), [_expSetupVehicle, _magClassname, _unit]] call CBA_fnc_globalEvent;
};
} else {
private _screenPos = worldToScreen (_virtualPosASL call EFUNC(common,ASLToPosition));

View File

@ -87,6 +87,8 @@ MenuType: 0 = Interaction, 1 = Self Interaction
|`ace_allowDefuse` | [_mine, _allow] | Global or Target | Callable | Set allowance of the dynamic defusal action on a mine
|`ace_tripflareTriggered` | [_flareObject, [_posX, _posY, _posZ]] | Global | Listen | Tripflare triggered
|`ace_explosives_clackerAdded` | [_unit, _explosive, _id] | Local | Listen | Clacker added to explosive
|`ace_explosives_place` | [_explosive, _dir, _pitch, _unit] | Global | Listen | Explosive is armed
|`ace_explosives_setup` | [_explosiveVehicle, _magClassname, _unit] | Global | Listen | Explosive is placed in the world
### 2.9 Logistics Wirecutter (`ace_logistics`)