Skip to content

Commit

Permalink
Switch to new marker color control
Browse files Browse the repository at this point in the history
  • Loading branch information
James Kingsley committed Nov 25, 2016
1 parent 6d8837f commit 44d0d61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions optionals/arcomm/attributes/reinforcements.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,9 @@ class Reinforcements {
class Color {
condition = "(false)";
identifier = "GroupDetails_Color";
type = "COMBO";
type = "MARKERCOLOR";
width = 0.33;
labels[] = {"Black", "Red", "Green", "Blue", "Yellow", "Orange", "Pink"};
values[] = {"ColorBlack", "ColorRed", "ColorGreen", "ColorBlue", "ColorYellow", "ColorOrange", "ColorPink"};
selected = 0;
selected = "ColorBlack";
expression = "";
};
};
Expand Down
2 changes: 1 addition & 1 deletion optionals/arcomm/functions/fnc_reinforcement.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private _destination = [_data, 'Basic_Destination_Control'] call AFUNC(getContro
private _configureGroup = [_data, 'Advanced_AdvancedToggle_Control'] call AFUNC(getControlValue);
private _groupLeader = ([_data, 'Advanced_GroupLeader_Control'] call AFUNC(getControlValue)) param [1, ""];
private _groupName = [_data, 'Advanced_GroupDetails_Name'] call AFUNC(getControlValue);
private _groupColor = ([_data, 'Advanced_GroupDetails_Color'] call AFUNC(getControlValue)) param [1, "ColorBlack"];
private _groupColor = [_data, 'Advanced_GroupDetails_Color'] call AFUNC(getControlValue);
private _loadoutsStr = [_data, 'Advanced_Loadouts_List'] call AFUNC(getControlValue);

if (_unitSelection isEqualTo []) exitWith {};
Expand Down

0 comments on commit 44d0d61

Please sign in to comment.