# 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.sc2mod

NativeLib.galaxy

// L3099
DialogControlSetPropertyAsUnitGroup(lp_dialogItem, c_triggerControlPropertyUnitGroup, lp_players, lp_unitGroup)
// L2553
DialogControlSetPropertyAsUnitGroup(lp_dialogItem, c_triggerControlPropertyUnitGroup, lp_players, lp_unitGroup)