Skip to content
#3760
Auto-translated
city teleportation

I've encountered this problem.

According to the map's storyline, I need Nicholas to turn human city ruins into a Necropolis when he approaches them.

I looked into the map where Zephyr teleports his city, and I used the MakeTownMovable function; everything works fine.

MakeTownMovable("Morton");

But when you teleport a city from a dungeon (which is very desirable), it teleports along with a piece of the landscape, which then floats in the air.
RemoveObject('Morton_ruins');
SetObjectPosition('Morton', 48, 45, 0);

Is there any way to prevent this?

--
And another question:
On the map, can you force creatures to play their animations?
PlayObjectAnimation('Cleric','happy',ONESHOT);
Can you do the same with heroes who are on the map?

If I do:
PlayObjectAnimation('Nikolay','happy',ONESHOT);
it doesn't work, even though I've added all possible animations to his advanced animations.

And most importantly, I remember that in the Warlords Campaign, at the end, Orlando roars and then runs to his city, so it's definitely possible. Also, when Warlocks perform a ritual, they also move right on the map.

Statistics

Welcome our newest member: dodoD0D0