# Set Dialog Item Unit Group Value
Grammar — Set dialogItem property to value for players
Flags —Native
|Action
|Internal
# Arguments
int
<control> — Dialog Itemint
<preset::ControlProperty> — Propertyplayergroup
— Playersunitgroup
— Value
Returns — void
native void DialogControlSetPropertyAsUnitGroup(
int control,
int property,
playergroup players,
unitgroup 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:3099
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsUnitGroup(lp_dialogItem, c_triggerControlPropertyUnitGroup, lp_players, lp_unitGroup);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2553
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsUnitGroup(lp_dialogItem, c_triggerControlPropertyUnitGroup, lp_players, lp_unitGroup);
}