# Dialog Item Color Value

Grammar — Color value of property of dialogItem for player
FlagsNative | Function | Internal

# Arguments

  • int<control> — Dialog Item
  • int<preset::ControlProperty> — Property
  • int — Player

Returns — color

native color DialogControlGetPropertyAsColor(
	int control,
	int property,
	int player,
);

Category: Dialog / Dialog Item Values / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2793

    // Automatic Variable Declarations
    // Implementation
    return DialogControlGetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_player);
}

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

    // Automatic Variable Declarations
    // Implementation
    return DialogControlGetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_player);
}