# Set Dialog Item Unit Group Value

Grammar — Set dialogItem property to value for players
FlagsNative | Action | Internal

# Arguments

  • int<control> — Dialog Item
  • int<preset::ControlProperty> — Property
  • playergroup — Players
  • unitgroup — Value

Returns — void

native void DialogControlSetPropertyAsUnitGroup(
	int control,
	int property,
	playergroup players,
	unitgroup value,
);

Category: Dialog / Dialog Item Values / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3099

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsUnitGroup(lp_dialogItem, c_triggerControlPropertyUnitGroup, lp_players, lp_unitGroup);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2553

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsUnitGroup(lp_dialogItem, c_triggerControlPropertyUnitGroup, lp_players, lp_unitGroup);
}