# Set Dialog Item Unit Value

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

# Arguments

  • int [ control ] — Dialog Item
  • int [ preset::ControlProperty ] — Property
  • playergroup — Players
  • unit — Value

Returns — void

native void DialogControlSetPropertyAsUnit(
	int control,
	int property,
	playergroup players,
	unit value,
);

Category: Dialog / Dialog Item Values / Internal

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L2913
DialogControlSetPropertyAsUnit(lp_dialogItem, c_triggerControlPropertyUnit, lp_players, lp_unit)
// L2367
DialogControlSetPropertyAsUnit(lp_dialogItem, c_triggerControlPropertyUnit, lp_players, lp_unit)