# Set Dialog Item Color Value
Grammar — Set dialogItem property to value for players
Flags —Native
|Action
|Internal
# Arguments
int
<control> — Dialog Itemint
<preset::ControlProperty> — Propertyplayergroup
— Playerscolor
— Value
Returns — void
native void DialogControlSetPropertyAsColor(
int control,
int property,
playergroup players,
color value,
);
# Related
Category: Dialog / Dialog Item Values / Internal
- Dialog Item Text Value —
text
— DialogControlGetPropertyAsText - Dialog Item String Value —
string
— DialogControlGetPropertyAsString - Dialog Item Integer Value —
int
— DialogControlGetPropertyAsInt - Dialog Item Real Value —
fixed
— DialogControlGetPropertyAsFixed - Dialog Item Boolean Value —
bool
— DialogControlGetPropertyAsBool - Dialog Item Color Value —
color
— DialogControlGetPropertyAsColor - Dialog Item Control Value —
int
<control> — DialogControlGetPropertyAsControl - Dialog Item Unit Value —
unit
— DialogControlGetPropertyAsUnit - Dialog Item Unit Group Value —
unitgroup
— DialogControlGetPropertyAsUnitGroup - Set Dialog Item Text Value —
void
— DialogControlSetPropertyAsText - Set Dialog Item String Value —
void
— DialogControlSetPropertyAsString - Set Dialog Item Integer Value —
void
— DialogControlSetPropertyAsInt - Set Dialog Item Real Value —
void
— DialogControlSetPropertyAsFixed - Set Dialog Item Boolean Value —
void
— DialogControlSetPropertyAsBool - Set Dialog Item Color Value —
void
— DialogControlSetPropertyAsColor - Set Dialog Item Control Value —
void
— DialogControlSetPropertyAsControl - Set Dialog Item Unit Value —
void
— DialogControlSetPropertyAsUnit - Set Dialog Item Unit Group Value —
void
— DialogControlSetPropertyAsUnitGroup
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2763
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_players, lp_color);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2901
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyDesaturationColor, lp_players, lp_color);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2979
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTintColor, lp_players, lp_color);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2985
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTeamColor, lp_players, lp_color);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:3081
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyBorderColor, lp_players, lp_color);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:3087
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyFillColor, lp_players, lp_color);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2216
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_players, lp_color);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2355
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyDesaturationColor, lp_players, lp_color);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2433
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTintColor, lp_players, lp_color);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2439
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTeamColor, lp_players, lp_color);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2535
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyBorderColor, lp_players, lp_color);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2541
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyFillColor, lp_players, lp_color);
}