# Relative Dialog Item

Grammar — Relative dialog item of dialogItem for player
FlagsNative | Function

Returns the dialog item that the specified dialog item is anchored relative to.

# Arguments

  • int [ control ] — Dialog Item
  • int — Player

Returns — int [ control ]

native int DialogControlGetRelativeControl(
	int control,
	int player,
);

Category: Dialog / Dialog Item Size And Position

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1775
DialogControlGetRelativeControl(lp_dialogItem, lp_player)
// L1796
DialogControlGetRelativeControl(lp_dialogItem, lp_player)