# Dialog Item Color Value
Grammar — Color value of property of dialogItem for player
Flags —Native|Function|Internal
# Arguments
int<control> — Dialog Itemint<preset::ControlProperty> — Propertyint— Player
Returns — color
native color DialogControlGetPropertyAsColor(
int control,
int property,
int player,
);
# 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:2793
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_player);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2246
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_player);
}