(24.10.2020 22:36)planetavril Wrote: how to create a script that allows you to create an object on the map that works as a transmuter of creatures, paying a sum based on the strength of the creature, for example if you have 1 pikeman and you want to turn it into 1 fairie dragon you pay 20000, if you have 2 pikeman to convert to 2 fairie dragon pay 40000, etc. etc.
HE:D show upgrade dialog (like fort on the hills object).
Loop though all monsters, save MA:U settings, change monster to monster upgrade settings, show upgrade dialog, restore upgrade settings.
Night, только из ЕРМ школы скрипт корректный. Сохрани с ним игру и пришли сейв перед боем.