# Dialog Item Offset X
Grammar — X offset of dialogItem for player
Flags —Native
|Function
Returns the horizontal offset of a dialog item.
# Arguments
int
[ control ] — Dialog Itemint
— Player
Returns — int
native int DialogControlGetOffsetX(
int control,
int player,
);
# Related
Category: Dialog / Dialog Item Size And Position
- [F] —
void
— Move Dialog Item — ( DialogControlSetPosition ) - [F] —
void
— Attach Dialog Item To Dialog Item — ( DialogControlSetPositionRelative ) - [F] —
void
— Set Dialog Item Rotation — ( libNtve_gf_SetDialogItemRotation ) - [F] —
void
— Set Dialog Item to Use Aspect Uncorrection — ( libNtve_gf_SetDialogItemtoUseAspectUncorrection ) - [F] —
void
— Set Dialog Item Size to Parent — ( DialogControlSetFullDialog ) - [F] —
void
— Set Dialog Item Size — ( DialogControlSetSize ) - [F] —
int
— Dialog Item Width — ( DialogControlGetWidth ) - [F] —
int
— Dialog Item Height — ( DialogControlGetHeight ) - [F] —
int
— Dialog Item Offset X — ( DialogControlGetOffsetX ) - [F] —
int
— Dialog Item Offset Y — ( DialogControlGetOffsetY ) - [F] —
int
[ preset::Anchor ] — Dialog Item Anchor — ( DialogControlGetAnchor ) - [F] —
int
[ preset::Anchor ] — Dialog Item Relative Anchor — ( DialogControlGetRelativeAnchor ) - [F] —
int
[ control ] — Relative Dialog Item — ( DialogControlGetRelativeControl ) - [F] —
bool
— Dialog Item Is Full Dialog — ( DialogControlIsFullDialog )
# Examples
# campaigns/libertystory.sc2campaign
// L1774
DialogControlGetOffsetX(lp_dialogItem, lp_player)