Posts from Current questions and answers regarding the map editor.
Auto-translated
Is there a script that teleports a hero to another region when they enter a specific region?
NHF 0.90 : NHF - группа в VK
Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
Or can I just ignore it, and will it not cause any problems?
Guys, how do I delete a piece of a bridge that's hanging off the edge of the map by accident???:mad:
NHF 0.90 : NHF - группа в VK
Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
Not sure... But moving cities, like Zephyr did in Tribes of the East, is possible.
So, can this problem be solved by hiding several cities in an inaccessible and invisible location in the Dungeon, and then summoning them as needed?
Can you elaborate? Cities cannot be moved just like that, and they don't even have the IsRemovable property (:eek:)... How can this be done?
pos.x, pos.y, pos.floor = GetObjectPosition(townName);
MakeTownMovable(townName);
SetObjectRotation(townName, newRotation);
SetObjectPosition(townName, newX, newY, newFloor);
SetObjectOwner(ZehirTownName, PLAYER_1);
Plus, you can apply various effects. The full script is located at data.pak\scripts\A2_Zehir\A2_Zehir.lua
Added 7 minutes later
Hmm... I don't know why they made it so complicated...
I was helped by a single script function, MakeTownMovable(townName), which makes the town movable (it sets the IsRemovable property to true).
In general, that piece of script looks like this:
MakeTownMovable(townName);
SetObjectPosition(townName, newX, newY, newFloor);
SetObjectOwner(townName, 1);
Or are you referring to something else? There is also StartAdvMapDialog.
Now, the second question arises: what should the file path to the video be?
StartDialogScene, found it in the manual...
Now, the second question arises: what should the path to the video file be?
StartDialogScene("/dial/DialogScene.xdb#xpointer(/DialogScene)");
StartDialogScene("/dial/DialogScene.xdb#xpointer(/DialogScene)";
Added 16 hours and 38 minutes ago
All the texts in the videos suddenly renamed themselves... Is there a way to prevent this?
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"