# Set Dialog Item Text Writeout

Grammar — Set dialogItem text writeout to writeout for players
FlagsAction

If set to true, the text that appears within the dialog item will animate as if being written out a single character at a time.

# Arguments

  • int<control> — Dialog Item
  • bool — Writeout
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemTextWriteout(
	int lp_dialogItem,
	bool lp_writeout,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3968

    libCamp_gf_CreateDialogItemInGrid(DialogLastCreated(), c_triggerControlTypeLabel, c_anchorCenter, 0.0, 0.6, 14.0, 7.0, StringExternal("Param/Value/BEAACFD9"));
    lv_text = DialogControlLastCreated();
    libNtve_gf_SetDialogItemTextWriteout(DialogControlLastCreated(), true, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteoutDuration(DialogControlLastCreated(), 13.0, PlayerGroupAll());
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), ConversationDataStateText("StoryText|StoryText03", "Text"), PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8507

    DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorCenter, 0, -100);
    DialogControlSetSize(DialogControlLastCreated(), PlayerGroupAll(), 800, 1200);
    libNtve_gf_SetDialogItemTextWriteout(DialogControlLastCreated(), true, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteoutDuration(DialogControlLastCreated(), 9.0, PlayerGroupAll());
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/EC38987D"), PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:3968

    libCamp_gf_CreateDialogItemInGrid(DialogLastCreated(), c_triggerControlTypeLabel, c_anchorCenter, 0.0, 0.6, 14.0, 7.0, StringExternal("Param/Value/BEAACFD9"));
    lv_text = DialogControlLastCreated();
    libNtve_gf_SetDialogItemTextWriteout(DialogControlLastCreated(), true, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteoutDuration(DialogControlLastCreated(), 13.0, PlayerGroupAll());
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), ConversationDataStateText("StoryText|StoryText03", "Text"), PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:8507

    DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorCenter, 0, -100);
    DialogControlSetSize(DialogControlLastCreated(), PlayerGroupAll(), 800, 1200);
    libNtve_gf_SetDialogItemTextWriteout(DialogControlLastCreated(), true, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteoutDuration(DialogControlLastCreated(), 9.0, PlayerGroupAll());
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/EC38987D"), PlayerGroupAll());

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9312

    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), TextExpressionAssemble("Param/Expression/lib_SwaC_24FD0DC7"), PlayerGroupAll());
    libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArmyCustomizationUnitSplitFanfare", PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteout(DialogControlLastCreated(), false, PlayerGroupAll());
    DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorBottom, 0, 100);
    libSwaC_gv_zS_ArmyCustomEvolutionFanfareText = DialogControlLastCreated();

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2671

    DialogControlSetPosition(lv_dialogitem, PlayerGroupAll(), lp_anchor, lp_offsetX, lp_offsetY);
    libNtve_gf_SetDialogItemText(lv_dialogitem, lp_text, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteout(lv_dialogitem, lp_textWriteout, PlayerGroupAll());
    if ((lp_color != ColorWithAlpha(0,0,0,0))) {
        libNtve_gf_SetDialogItemColor(lv_dialogitem, lp_color, PlayerGroupAll());

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2124

    DialogControlSetPosition(lv_dialogitem, PlayerGroupAll(), lp_anchor, lp_offsetX, lp_offsetY);
    libNtve_gf_SetDialogItemText(lv_dialogitem, lp_text, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteout(lv_dialogitem, lp_textWriteout, PlayerGroupAll());
    if ((lp_color != ColorWithAlpha(0,0,0,0))) {
        libNtve_gf_SetDialogItemColor(lv_dialogitem, lp_color, PlayerGroupAll());

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:221

    DialogControlHookup(DialogControlLastCreated(), c_triggerControlTypeLabel, "Text");
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_msg, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteout(DialogControlLastCreated(), lp_writeOut, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteoutDuration(DialogControlLastCreated(), libStEx_gv_sE_MsgWriteOutDuration, PlayerGroupAll());
    libStEx_gv_sE_HintMsgLabel = DialogControlLastCreated();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:293

    DialogControlHookup(libStEx_gv_sE_VOMsgPanel, c_triggerControlTypeLabel, "Text");
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_msg, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteout(DialogControlLastCreated(), lp_writeOut, PlayerGroupAll());
    libNtve_gf_SetDialogItemTextWriteoutDuration(DialogControlLastCreated(), libStEx_gv_sE_MsgWriteOutDuration, PlayerGroupAll());
    Wait(lp_duration, c_timeGame);