mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Explosives - Add clackerAdded
event (#7994)
* Add clackerPlaced event * Update docs/wiki/framework/events-framework.md Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
0c84cdd375
commit
1efa25fe2b
@ -46,3 +46,5 @@ _unit setVariable [QGVAR(Clackers), _clacker, true];
|
||||
|
||||
//display clacker code message:
|
||||
[format [localize LSTRING(DetonateCode), GVAR(PlacedCount)]] call EFUNC(common,displayTextStructured);
|
||||
|
||||
[QGVAR(clackerAdded), [_unit, _explosive, GVAR(PlacedCount)]] call CBA_fnc_localEvent;
|
||||
|
@ -82,6 +82,7 @@ MenuType: 0 = Interaction, 1 = Self Interaction
|
||||
| Event Key | Parameters | Locality | Type | Description |
|
||||
|----------|---------|---------|---------|---------|---------|
|
||||
|`ace_tripflareTriggered` | [_flareObject, [_posX, _posY, _posZ]] | Global | Listen | Tripflare triggered
|
||||
|`ace_explosives_clackerAdded` | [_unit, _explosive, _id] | Local | Listen | Clacker added to explosive
|
||||
|
||||
### 2.9 Logistics Wirecutter (`ace_logistics`)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user