Posts from Scripts
It's not working again. Since this dwarven building doesn't function properly when transformed into a Necropolis, regardless of its location (even in an open field), I'll have to penalize the red player. Or are there any other ideas?
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
1. Create a Fortress.
2. Destroy the Fortress.
3. Place a Necropolis in its place.
Have you tried that?
Point 2 doesn't work. The same thing happens: the object is indestructible. The same error appears in the console.
Added after 31 seconds
Although it is definitely placed by a script.
Added after 1 minute
CreateDwelling("ddd", TOWN_FORTRESS, 1, 0, 32, 3, 0, 90)
RazeBuilding("ddd")
CreateDwelling("dddnew", TOWN_NECROMANCY, 1, 0, 32, 4, 0, 90)
Point 2 doesn't work. The same issue: the object is indestructible. The same error appears in the console.
Added 31 seconds later
Although it is definitely placed using a script.
Added 1 minute later
CreateDwelling("ddd", TOWN_FORTRESS, 1, 0, 32, 3, 0, 90)
RazeBuilding("ddd")
CreateDwelling("dddnew", TOWN_NECROMANCY, 1, 0, 32, 4, 0, 90)
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
I need a window with text and "yes" and "no" buttons to appear when an object is touched (in my case, a monster). Ideally, the buttons should be renamed, and depending on the choice, different functions should be executed. It's also important that this works constantly (the window should appear every time the object is touched).
If it's not too much trouble, could you share the code? Thanks.
There's a mod for an enhanced editor.
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Added 1 minute ago
Could you explain how to work with the Dungeon faction, i.e., how to create a random landscape.
I've now removed the mod and installed the editor myself. Could the Unicorn Empire campaign have an impact on this?
Could you explain how to work with the dungeon, i.e., how to create a random landscape?
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4