mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical Vitals - Add event to vitals loop (#8891)
* Added event to vitals loop * Pass deltaT to event * Added event to documentation
This commit is contained in:
parent
36ae99b9f3
commit
67842a2656
@ -165,4 +165,7 @@ if (!isPlayer _unit) then {
|
||||
|
||||
END_COUNTER(Vitals);
|
||||
|
||||
//placed outside the counter as 3rd-party code may be called from this event
|
||||
[QEGVAR(medical,handleUnitVitals), [_unit, _deltaT]] call CBA_fnc_localEvent;
|
||||
|
||||
true
|
||||
|
@ -40,6 +40,7 @@ The vehicle events will also have the following local variables available `_gunn
|
||||
|`ace_treatmentStarted` | [_caller, _target, _selectionName, _className, _itemUser, _usedItem] | Local | Listen | Treatment action has started (local on the _caller)
|
||||
|`ace_treatmentSucceded` | [_caller, _target, _selectionName, _className, _itemUser, _usedItem] | Local | Listen | Treatment action is completed (local on the _caller)
|
||||
|`ace_treatmentFailed` | [_caller, _target, _selectionName, _className, _itemUser, _usedItem] | Local | Listen | Treatment action has been interrupted (local on the _caller)
|
||||
|`ace_medical_handleUnitVitals` | [_unit, _deltaT] | Local | Listen | Vitals update ran for unit, _deltaT is the time elapsed since the previous vitals update (local to _unit)
|
||||
|
||||
### 2.3 Interaction Menu (`ace_interact_menu`)
|
||||
MenuType: 0 = Interaction, 1 = Self Interaction
|
||||
|
Loading…
Reference in New Issue
Block a user