Skip to content

Commit

Permalink
Interaction Menu - Add triage colors to icons at passengers list (#8366)
Browse files Browse the repository at this point in the history
  • Loading branch information
severgun authored Oct 11, 2021
1 parent 0b2b4d7 commit af66a98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions addons/interaction/functions/fnc_addPassengersActions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* None
*
* Example:
* [cursorObject, player, [], []] call ace_interaction_fnc_modifyActionTriageLevel
* [cursorObject, player, [], []] call ace_medical_gui_fnc_modifyActionTriageLevel
*
* Public: No
*/
Expand Down

0 comments on commit af66a98

Please sign in to comment.