Skip to content
User Avatar
#227
Auto-translated
Thank you, everything is working now :). Although it's really strange - it works fine when placed nearby, but the script with the letter equivalent of the trigger doesn't :eek:. I probably made a mistake somewhere.

Could you please provide the numerical values for all the triggers or tell me where I can find them?

----------------------------------------------------------------------------------------------------

Also, could you explain how Sleep works? I simply inserted it into a function, with MoveHeroRealTime before it and MessageBox after it (i.e., the enemy attacks first, then the battle, and then the message), and it gives me an error:
ScriptWarning: Value was NIL when getting global with name 'Sleep' 
ScriptError: Attempt to call a 'nil' value
Without sleep(5), it works, but the message is displayed before the battle. With sleep(5), it doesn't display at all :D. Am I using this sleep incorrectly?
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"