{"name":"Eden Editor: Configuring Tutorials","title":"Eden Editor: Configuring Tutorials","type":"topic","url":"https://community.bistudio.com/wiki/Eden_Editor:_Configuring_Tutorials","revid":286013,"updated":"2021-06-20T17:24:17Z","aliases":[],"markdown":"Eden Editor offers in-game tutorial system. By default, it contains tutorials for controlling various editor features.\n\nModders can add new tutorials and categories to describe their custom features. Whenever new tutorial is added, icon in top right will show red notification for player.\n\n### Config\n\n```cpp\n// File with IDCs of UI controls which can be highlighted (see 'highlight' property below)\n#include \"\\a3\\3DEN\\UI\\resincl.inc\"\n\nclass Cfg3DEN\n{\n    // Container with all tutorials\n    class Tutorials\n    {\n        // Category class. You can use one of the existing ones, or create a new one\n        class Intro\n        {\n            displayName = \"Introduction\"; // Name visible in the list. Don't define when you're using existing category!\n            // Category sections\n            class Sections\n            {\n                // Section class\n                class MyTutorial\n                {\n                    displayName = \"My Tutorial\"; // Name visible in the list\n                    // Individual tutorial steps (shown as post-it notes), sorted in-game as they appear here\n                    class Steps\n                    {\n                        // Classname can be anything\n                        class Hello\n                        {\n                            text = \"Hello World\"; // Step text\n                            highlight = IDC_DISPLAY3DEN_TOOLBAR_MISSION_MAP; // IDC of highlighted UI control (none by default)\n                            expression = \"['showInterface',true] call BIS_fnc_3DENInterface;\"; // Code called when the step is displayed (before highlight)\n                            x = safeZoneX + 0.1; // Custom X coordinate (centered when undefined)\n                            y = safeZoneY + 0.9; // Custom Y coordinate (centered when undefined)\n                        };\n                        class Text2\n                        {\n                            text = \"Schnobble!\";\n                        };\n                    };\n                };\n            };\n        };\n    };\n};\n```","sections":[{"heading":null,"level":1,"markdown":"Eden Editor offers in-game tutorial system. By default, it contains tutorials for controlling various editor features.\n\nModders can add new tutorials and categories to describe their custom features. Whenever new tutorial is added, icon in top right will show red notification for player."},{"heading":"Config","level":3,"markdown":"```cpp\n// File with IDCs of UI controls which can be highlighted (see 'highlight' property below)\n#include \"\\a3\\3DEN\\UI\\resincl.inc\"\n\nclass Cfg3DEN\n{\n    // Container with all tutorials\n    class Tutorials\n    {\n        // Category class. You can use one of the existing ones, or create a new one\n        class Intro\n        {\n            displayName = \"Introduction\"; // Name visible in the list. Don't define when you're using existing category!\n            // Category sections\n            class Sections\n            {\n                // Section class\n                class MyTutorial\n                {\n                    displayName = \"My Tutorial\"; // Name visible in the list\n                    // Individual tutorial steps (shown as post-it notes), sorted in-game as they appear here\n                    class Steps\n                    {\n                        // Classname can be anything\n                        class Hello\n                        {\n                            text = \"Hello World\"; // Step text\n                            highlight = IDC_DISPLAY3DEN_TOOLBAR_MISSION_MAP; // IDC of highlighted UI control (none by default)\n                            expression = \"['showInterface',true] call BIS_fnc_3DENInterface;\"; // Code called when the step is displayed (before highlight)\n                            x = safeZoneX + 0.1; // Custom X coordinate (centered when undefined)\n                            y = safeZoneY + 0.9; // Custom Y coordinate (centered when undefined)\n                        };\n                        class Text2\n                        {\n                            text = \"Schnobble!\";\n                        };\n                    };\n                };\n            };\n        };\n    };\n};\n```"}],"categories":["Eden Editor: Modding"],"groups":["Mission Editing"]}