Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!
To make your scripts and triggers more readable and easier for yourself and others to understand, it is always a good idea to sprinkle in comments. They will not interfere with the code and the only thing you can do is to add text to them.
- Action group is a useful function that can organize your code quickly. It has a comment attached to it.
- You can add comments to all custom actions and functions in the Hint section. These comments will appear in the action and function list info-box.
- The text you write stays in the trigger editor and is not stored as a Text item in the Text Editor.
- Should any other people open your map, the comments can help them understand what your trigger setup does