Skip to content
#10
Auto-translated
Vaishan
Hello everyone. Is it possible to remove an army without a hero from the map using a script?

I recently encountered a problem: I wanted to get rid of units without heroes without engaging in combat, which a hero might send out for scouting, for example. This is to prevent errors with the plot (for example, before powerful artifacts, an ambush is set up, which is discovered by some lone recruit, but it should have been the main hero). It is possible, of course, to remove all creatures with a script and then finish off the remaining one with some kind of "angry spirit" (according to the plot), but in my case, I would have to calculate the script for a large number of creatures. Of course, I could simply destroy them with an ambush and write that "only the main hero can pass," but in my case, I need the unit to simply disappear (for example, undead are destroyed on holy ground). How can this be implemented?

Statistics

Welcome our newest member: Emil

Users Online 4 users 1148 guests