Skip to content
User Avatar
#4001
Auto-translated
Any variable that isn't declared as local is a global variable. Let's remove one word from the example:
x, y, f = GetObjectPosition(hero_name);
It's recommended to give these variables longer names since they are visible throughout the entire script.
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо