# 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
Flags —Action
Creates an achievement dialog item, using parameters to set up the essential properties for the achievement.
# Arguments
int
<dialog> — Dialogint
— Widthint
— Heightint
<preset::Anchor> — Anchorint
— Offset Xint
— Offset Ytext
— Tooltipstring
<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,
);
# Related
Category: Dialog / Create Specific Dialog Item Actions
- Create Dialog Item (Achievement) —
int
<control> — libNtve_gf_CreateDialogItemAchievement - Create Dialog Item (Button) —
int
<control> — libNtve_gf_CreateDialogItemButton - Create Dialog Item (Check Box) —
int
<control> — libNtve_gf_CreateDialogItemCheckBox - Create Dialog Item (Image) —
int
<control> — libNtve_gf_CreateDialogItemImage - Create Dialog Item (Label) —
int
<control> — libNtve_gf_CreateDialogItemLabel
# Examples
— None found —