# Set Dialog Item Submenu

Grammar — Set dialogItem Submenu to submenu for players
FlagsAction

Sets the submenu for a dialog item. Only used by Command Panel dialog items.

# Arguments

  • int<control> — Dialog Item
  • string — Submenu
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemSubmenu(
	int lp_dialogItem,
	string lp_submenu,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

mods/warcoop/warclassicsystem.sc2modbase.sc2data/TriggerLibs/WarClassicSystem.galaxy:1232

    }

    libNtve_gf_SetDialogItemSubmenu(libGAwX_gv_c_CommandPanelFrame, lv_abilSetID, PlayerGroupSingle(EventPlayer()));
    return true;
}