mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interaction Menu - Add triage colors to icons at passengers list (#8366)
This commit is contained in:
parent
0b2b4d7397
commit
af66a9881c
@ -40,7 +40,7 @@ private _actions = [];
|
||||
[
|
||||
format ["%1", _unit],
|
||||
[_unit, true] call EFUNC(common,getName),
|
||||
_icon,
|
||||
[_icon, "#FFFFFF"],
|
||||
{
|
||||
//statement (Run on hover) - reset the cache so we will insert actions immedietly when hovering over new unit
|
||||
TRACE_2("Cleaning Cache",_target,vehicle _target);
|
||||
@ -57,7 +57,8 @@ private _actions = [];
|
||||
[_unit],
|
||||
{[0, 0, 0]},
|
||||
2,
|
||||
[false,false,false,true,false] //add run on hover (4th bit true)
|
||||
[false,false,false,true,false], //add run on hover (4th bit true)
|
||||
{if (["ace_medical_gui"] call EFUNC(common,isModLoaded)) then {call EFUNC(medical_gui,modifyActionTriageLevel)}}
|
||||
] call EFUNC(interact_menu,createAction),
|
||||
[],
|
||||
_unit
|
||||
|
@ -13,7 +13,7 @@
|
||||
* None
|
||||
*
|
||||
* Example:
|
||||
* [cursorObject, player, [], []] call ace_interaction_fnc_modifyActionTriageLevel
|
||||
* [cursorObject, player, [], []] call ace_medical_gui_fnc_modifyActionTriageLevel
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user