Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5986
Auto-translated
}{0TT@6bI4
What does GetGameVar output for this variable? If it outputs "1", there won't be an error, but what if something like "HappyBirthday" has crept in there?

This is a number, specifically the hero's level:

kasparLevel = GetGameVar("kasparLevel") + 0;

Added 3 minutes later
And it outputs the hero's level during debugging.

Сценарии:
"Холм мертвецов"
"Священное древо"