# Dialog Item Integer Value

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

# Arguments

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

Returns — int

native int DialogControlGetPropertyAsInt(
	int control,
	int property,
	int player,
);

Category: Dialog / Dialog Item Values / Internal

# Examples

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

    // Automatic Variable Declarations
    // Implementation
    return DialogControlGetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyImageType, lp_player);
}

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

    // Automatic Variable Declarations
    // Implementation
    return DialogControlGetPropertyAsInt(lp_dialogItem, c_triggerControlPropertyImageType, lp_player);
}