mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Explosives - Add Event for tripflare triggering (#6663)
* Add Event for tripflare triggering _flare might be useful to delete / replace flare _position is already available, so why not send it too * added documentation also added missing wirecutter event
This commit is contained in:
parent
866a381598
commit
ada07758c5
@ -22,4 +22,6 @@ private _flare = "ACE_TripFlare_FlareEffect" createVehicle [_posX,_posY,_posZ];
|
||||
|
||||
TRACE_1("",_flare);
|
||||
|
||||
["ace_tripflareTriggered", [_flare, [_posX,_posY,_posZ]]] call CBA_fnc_globalEvent;
|
||||
|
||||
nil
|
||||
|
@ -47,7 +47,7 @@ MenuType: 0 = Interaction, 1 = Self Interaction
|
||||
|`ace_interactMenuOpened` | [_menuType] | Local | Listen | Interaction Menu Opened
|
||||
|`ace_interactMenuClosed` | [_menuType] | Local | Listen | Interaction Menu Closed
|
||||
|
||||
### 2.4 Logistics (`ace_cargo`)
|
||||
### 2.4 Cargo (`ace_cargo`)
|
||||
|
||||
| Event Key | Parameters | Locality | Type | Description |
|
||||
|----------|---------|---------|---------|---------|---------|
|
||||
@ -76,6 +76,18 @@ MenuType: 0 = Interaction, 1 = Self Interaction
|
||||
|----------|---------|---------|---------|---------|---------|
|
||||
|`ace_tagCreated` | [_tagObject, _texture, _tagAttachedTo (can be null), _unitThatCreated] | Global | Listen | Tag is created
|
||||
|
||||
### 2.8 Explosives (`ace_explosives`)
|
||||
|
||||
| Event Key | Parameters | Locality | Type | Description |
|
||||
|----------|---------|---------|---------|---------|---------|
|
||||
|`ace_tripflareTriggered` | [_flareObject, [_posX, _posY, _posZ]] | Global | Listen | Tripflare triggered
|
||||
|
||||
### 2.9 Logistics Wirecutter (`ace_logistics`)
|
||||
|
||||
| Event Key | Parameters | Locality | Type | Description |
|
||||
|----------|---------|---------|---------|---------|---------|
|
||||
|`ace_wireCuttingStarted` | [_unit, _fence] | Global | Listen | Fence cutting started
|
||||
|
||||
|
||||
## 3. Usage
|
||||
Also Reference [CBA Events System](https://github.com/CBATeam/CBA_A3/wiki/Custom-Events-System){:target="_blank"} documentation.
|
||||
|
Loading…
Reference in New Issue
Block a user