# 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
Flags —Native
|Action
Creates a tutorial that will display above the command card, and also adds the tutorial to the help panel.
# Arguments
playergroup
— Playerstext
— Titletext
— Descriptionstring
[ filepath ] — Iconstring
[ filepath ] — Moviebool
— Flashing
Returns — void
native void HelpPanelAddTutorial(
playergroup players,
text titleText,
text descriptionText,
string iconPath,
string moviePath,
bool flashing,
);
# Related
Category: UI / Help Panel
- [P] — Help Item
- [F] —
void
— Destroy HelpItem — ( HelpPanelDestroyHelpItem ) - [F] —
int
[ preset::HelpItem ] — Last Created HelpItem — ( HelpPanelLastCreatedHelpItem ) - [F] —
void
— Display Help Page — ( HelpPanelDisplayPage ) - [F] —
void
— Create Tip — ( HelpPanelAddTip ) - [F] —
void
— Destroy All Tips — ( HelpPanelDestroyAllTips ) - [F] —
void
— Destroy All Tutorials — ( HelpPanelDestroyAllTutorials ) - [F] —
text
— Format Tip Title — ( libNtve_gf_FormatTipTitle ) - [F] —
void
— Clear All Tip Alerts — ( TipAlertPanelClear ) - [F] —
void
— Create Cheat — ( HelpPanelAddHint ) - [F] —
void
— Create Tutorial — ( HelpPanelAddTutorial ) - [F] —
void
— Create Message Log Entry — ( HelpPanelAddMessage ) - [F] —
void
— Enable/Disable Help Panel Tech Tree Button — ( HelpPanelEnableTechTreeButton ) - [F] —
void
— Enable/Disable Help Panel Tech Glossary Button — ( HelpPanelEnableTechGlossaryButton ) - [F] —
void
— Show/Hide Help Panel Tech Tree Race — ( HelpPanelShowTechTreeRace ) - [F] —
void
— Show/Hide Help For Unit — ( TechTreeUnitHelp ) - [F] —
void
— Set Help Panel Default Visibility — ( TechTreeUnitHelpDefault ) - [F] —
void
— Set Help Item Darkened When Viewed — ( HelpPanelSetHelpItemDarkenedWhenViewed )
# Examples
# campaigns/libertystory.sc2campaign
// L9869
HelpPanelAddTutorial(PlayerGroupAll(), lp_title, lp_description, lp_icon, lp_movie, true)
// L9963
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)