Skip to content
User Avatar
#4
Auto-translated
Aleha, the script code is executed sequentially; any error will cause the interpreter to terminate, and all subsequent code will not be executed, even if it is correct. For example, if there is no hero named "Necros" on the map, the script will fail on the first line, EnableHeroAI("Necros", nil), and will not proceed further. Common errors include using a period instead of a comma, or vice versa, and missing closing "end" statements, and so on. Enable the console; it will show you which command caused the error.

Statistics

Welcome our newest member: leyu