# 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.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2913

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsUnit(lp_dialogItem, c_triggerControlPropertyUnit, lp_players, lp_unit);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2367

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsUnit(lp_dialogItem, c_triggerControlPropertyUnit, lp_players, lp_unit);
}