# Set Dialog Title
Grammar — Set title of dialog to title
Flags —Native
|Action
Sets the text that is used for the title of the dialog.
# Arguments
int
[ dialog ] — Dialogtext
— Title
Returns — void
native void DialogSetTitle(int dialog, text title);
# Related
Category: Dialog / Dialogs
- [F] —
int
[ dialog ] — Create Dialog — ( DialogCreate ) - [F] —
void
— Show/Hide Dialog — ( DialogSetVisible ) - [F] —
void
— Set Dialog Title — ( DialogSetTitle ) - [F] —
int
[ dialog ] — Last Created Dialog — ( DialogLastCreated ) - [F] —
bool
— Dialog Is Visible — ( DialogIsVisible ) - [F] —
text
— Dialog Title — ( DialogGetTitle )
# Examples
# campaigns/voidstory.sc2campaign
— VoidCampaignMissionLib.galaxy
// L6126
DialogSetTitle(DialogLastCreated(), StringExternal("Param/Value/lib_VCMI_392837B9"))
# mods/missionpacks/novacampaign.sc2mod
// L5066
DialogSetTitle(DialogLastCreated(), StringExternal("Param/Value/lib_NCMI_392837B9"))