# Create Dialog Item (Achievement)

Grammar — Create an achievement for dialog dialog with the dimensions (width, height) anchored to anchor with an offset of (offsetX, offsetY) setting the tooltip to tooltip and using the achievement achievement
FlagsAction

Creates an achievement dialog item, using parameters to set up the essential properties for the achievement.

# Arguments

  • int [ dialog ] — Dialog
  • int — Width
  • int — Height
  • int [ preset::Anchor ] — Anchor
  • int — Offset X
  • int — Offset Y
  • text — Tooltip
  • string [ gamelink::Achievement ] — Achievement

Returns — int [ control ]

int libNtve_gf_CreateDialogItemAchievement(
	int lp_dialog,
	int lp_width,
	int lp_height,
	int lp_anchor,
	int lp_offsetX,
	int lp_offsetY,
	text lp_tooltip,
	string lp_achievement,
);

Category: Dialog / Create Specific Dialog Item Actions

# Examples

— None found —