# Dialog Offset X

Grammar — X offset of dialog
FlagsNative | Function

Returns the horizontal offset of a dialog.

# Arguments

  • int<dialog> — Dialog

Returns — int

native int DialogGetOffsetX(int dialog);

Category: Dialog / Dialog Size And Position

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:1743

    // Automatic Variable Declarations
    // Implementation
    return libCamp_gf_GD_IntegerToGrid(DialogGetOffsetX(lp_dialog), libCamp_ge_GRIDDLG_HV_Horizontal, libCamp_ge_GRIDDLG_HV2_NoneClient);
}