# Set Dialog Item Control Value

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

# Arguments

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

Returns — void

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

Category: Dialog / Dialog Item Values / Internal

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L2907
DialogControlSetPropertyAsControl(lp_dialogItem, c_triggerControlPropertyCustomTooltip, lp_players, lp_tooltip)
// L2361
DialogControlSetPropertyAsControl(lp_dialogItem, c_triggerControlPropertyCustomTooltip, lp_players, lp_tooltip)