# Set Dialog Item Boolean Value

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

# Arguments

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

Returns — void

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

Category: Dialog / Dialog Item Values / Internal

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L2692
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyUseAspectUncorrection, lp_players, lp_useAspectUncorrection)
// L2717
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyChecked, lp_players, true)
// L2720
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyChecked, lp_players, false)
// L2775
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyTextWriteout, lp_players, lp_writeout)
// L2835
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyTiled, lp_players, lp_tiled)
// L2877
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyClickOnDown, lp_players, lp_clickOnDown)
// L2883
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyToggled, lp_players, lp_toggled)
// L2895
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyDesaturated, lp_players, lp_desaturated)
// L2937
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyBorderVisible, lp_players, lp_visible)
// L2949
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyBackgroundVisible, lp_players, lp_visible)
// L2145
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyUseAspectUncorrection, lp_players, lp_useAspectUncorrection)
// L2170
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyChecked, lp_players, true)
// L2173
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyChecked, lp_players, false)
// L2228
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyTextWriteout, lp_players, lp_writeout)
// L2288
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyTiled, lp_players, lp_tiled)
// L2331
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyClickOnDown, lp_players, lp_clickOnDown)
// L2337
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyToggled, lp_players, lp_toggled)
// L2349
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyDesaturated, lp_players, lp_desaturated)
// L2391
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyBorderVisible, lp_players, lp_visible)
// L2403
DialogControlSetPropertyAsBool(lp_dialogItem, c_triggerControlPropertyBackgroundVisible, lp_players, lp_visible)