Posts from Current questions and answers regarding the map editor.
For the author, it opens because there are copies and a cache of the map in the game folders.
What error does the editor give you when opening this map?
The editor has stopped working, Windows is looking for a way to fix the problem. It's halfway through. I have a licensed version of Windows 7. Core-3 processor, 8 GB of RAM, GeForce GTX 1050 Ti, licensed and patched Heroes. This is already my fifth computer, and it didn't open on any of the previous ones, neither in XP nor in 10.
Hello everyone, could you please tell me how to put a hero on a ship?
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Manually enter the coordinates of a point on the water where you want to place him. At the beginning of the game, a ship will automatically be created under the hero.
The editor has stopped working; Windows is looking for a way to fix the problem. It's halfway there. I have a licensed version of Windows 7. Core-3 processor, 8 GB of RAM, GeForce GTX 1050 Ti, Heroes is patched and licensed. This is already my fifth computer, and it didn't work on any of the previous ones either, neither in XP nor in 10.
Try visiting this website http://www.maps4heroes.com/heroes5/maps.php?&limit=4
and look for the email address of the author "Guano." Try to contact him; he mentioned that he might be able to send you an editable version.
Added 2 minutes later
function arena_level_up_pl1F (hero)
MakeHeroInteractWithObject(heroname, "monster_arena1_pl1");
end;
Trigger(OBJECT_TOUCH_TRIGGER, "arena_level_up_pl1", "arena_level_up_pl1F");
And no one can help me; why isn't this nonsense working?
But no one will help me, why isn't this nonsense working?
Can anyone help me understand why this isn't working?
function arena_level_up_pl1F (hero)
MakeHeroInteractWithObject(heroname, "monster_arena1_pl1");
end;
Trigger(OBJECT_TOUCH_TRIGGER, "arena_level_up_pl1", "arena_level_up_pl1F");
You definitely need to replace heroname with hero. If that doesn't help and there are no errors in the object names, it's possible that you can't interact with the object monster_arena1_pl1, or that you can't use OBJECT_TOUCH_TRIGGER on arena_level_up_pl1.
Try enabling the console; you can find instructions online. It will be very helpful.
heroname definitely needs to be replaced with hero. If that doesn't help and there are no errors in the object names, then it's possible that you can't interact with the monster_arena1_pl1 object, or that you can't attach OBJECT_TOUCH_TRIGGER to arena_level_up_pl1.
Try enabling the console; there are instructions online on how to do it. It will be very helpful.
1) I've already used this command and wrote "heroname" there, and it works, and still does.
2) The console doesn't say anything about my error, either when interacting with the object or afterward.
Added 1 minute ago
heroname definitely needs to be replaced with hero. If that doesn't help and there are no errors in the object names, then it's possible that you can't interact with the monster_arena1_pl1 object, or that you can't attach OBJECT_TOUCH_TRIGGER to arena_level_up_pl1.
Try enabling the console; there are instructions online on how to do it. It will be very helpful.
It seems I have a very rare case.
1) I've already used this command and wrote "heroname," and it works, and still does.
2) The console doesn't say anything about my error, either when interacting with the object or afterward.
I described debugging methods in my FAQ. To make the console work at full capacity, you need to use debug messages. Before/after/inside the function, before/after the trigger.
You would be better off listening to advice and fixing obvious errors instead of saying that something works somewhere. The function receives the hero variable, so it should be used further. Somewhere else in the code, you accidentally created a global variable named heroname and assigned it the name of the main hero. That's why, during testing, it seemed to you that this function worked as it should. But it's just a coincidence that can disappear at any moment.
I described debugging methods in my FAQ. To make the console work at full capacity, you need to use debug messages. Before/after/inside the function, before/after the trigger.
As they say, you live and learn.