# Create Tutorial

Grammar — Create a tutorial tip with title title, description description, icon icon, and movie __movie|Movie __for players and set its flashing state to flashing
FlagsNative | Action

Creates a tutorial that will display above the command card, and also adds the tutorial to the help panel.

# Arguments

  • playergroup — Players
  • text — Title
  • text — Description
  • string<filepath> — Icon
  • string<filepath> — Movie
  • bool — Flashing

Returns — void

native void HelpPanelAddTutorial(
	playergroup players,
	text titleText,
	text descriptionText,
	string iconPath,
	string moviePath,
	bool flashing,
);

Category: UI / Help Panel

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:9869

    // Automatic Variable Declarations
    // Implementation
    HelpPanelAddTutorial(PlayerGroupAll(), lp_title, lp_description, lp_icon, lp_movie, true);
    if ((libCamp_gf_TS_Tutorial_AlreadyExisted(lp_movie) == true)) {
        return ;

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:9963

    lv_index = 1;
    for ( ; ( (auto7E6D0CC3_ai >= 0 && lv_index <= auto7E6D0CC3_ae) || (auto7E6D0CC3_ai < 0 && lv_index >= auto7E6D0CC3_ae) ) ; lv_index += auto7E6D0CC3_ai ) {
        HelpPanelAddTutorial(PlayerGroupAll(), libCamp_gv_tSX_Tutorial_HistoryTitle[lv_index], libCamp_gv_tSX_Tutorial_HistoryDescription[lv_index], libCamp_gv_tSX_Tutorial_HistoryIcon[lv_index], libCamp_gv_tSX_Tutorial_HistoryMovie[lv_index], false);
    }
}