# Set Dialog Item Integer Value

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

# Arguments

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

Returns — void

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

Category: Dialog / Dialog Item Values / Internal

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L2686
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyRotation, lp_players, (lp_rotation))
// L2823
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyImageType, lp_players, (lp_imageType))
// L2829
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyBlendMode, lp_players, (lp_blendMode))
// L2871
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyRenderPriority, lp_players, lp_renderPriority)
// L3009
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyRenderType, lp_players, (lp_renderType))
// L3021
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyTeamColorIndex, lp_players, lp_index)
// L3051
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyHotkey, lp_players, lp_hotkey)
// L3057
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyAllowedButtons, lp_players, lp_allowedButtons)
// L3069
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyAnimIndex, lp_players, lp_index)
// L3105
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyPlayerId, lp_players, lp_playerId)
// L2139
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyRotation, lp_players, (lp_rotation))
// L2276
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyImageType, lp_players, (lp_imageType))
// L2282
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyBlendMode, lp_players, (lp_blendMode))
// L2325
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyRenderPriority, lp_players, lp_renderPriority)
// L2463
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyRenderType, lp_players, (lp_renderType))
// L2475
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyTeamColorIndex, lp_players, lp_index)
// L2505
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyHotkey, lp_players, lp_hotkey)
// L2511
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyAllowedButtons, lp_players, lp_allowedButtons)
// L2523
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyAnimIndex, lp_players, lp_index)
// L2559
DialogControlSetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyPlayerId, lp_players, lp_playerId)