HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question: Limiting number of Custom heroes to 1 each

04-19-2003, 06:38 AM#1
SyDemon
Apparently the built in trigger doesn't cover custom heroes.

How do I set it such that when a player clicks on the button (or uses hotkey) to train a hero, it's button disappears, just like the effect of the built in trigger?
04-19-2003, 07:30 AM#2
Krakou
Be aware that only UMSWE has this trigger.
04-19-2003, 10:40 PM#3
SyDemon
Goodness....UMSWE....I'm convinced. I'm downloading it straight away.

Thanks Wormskull...do you get a +1 to all Necro skills with that? :ggani:
04-20-2003, 12:12 AM#4
SyDemon
That's nice. Perhaps you could draw it again? Sounds like a fine piece of art.

Ok I've downloaded UMSWE, but I couldn't find that trigger that allows a limit to a particular unit.

Am I missing something here?

Edit: Ok I realised that I had to uninstall all previous downloaded editors. I did this by deleting the ui and units directory and got an illegal operation when I tried to run the UMSWE 3.6TD version.

What's wrong?
04-21-2003, 07:58 PM#5
Panto
Go here:
Blizzard's map development FAQ

Look for the question:
How do I make it so players can only build one copy of my custom hero?

This used the standard WE. Note that it does NOT treat the custom hero as one of the standard heros (i.e. even though you can build only one of your heros, the other heros are still available as if your hero was not built).
04-22-2003, 03:08 AM#6
SyDemon
That link was really useful! Thanks Panto!

I've used the UMSWE for that already. So it's fine now.

While scanning through the FAQ, I noticed that removing units causes lag and letting them die and decay doesn't. Why is that? Wouldn't corpses contribute to the number of units on screen?

Also, do all created special effects have to be destroyed? Even those that dissipate at the end of their animation?
04-22-2003, 07:51 AM#7
Arriba!
When u remove something you are actually storing it as you can restore removed units... think how fairy dragon phase shift works. Instead of going etherael it now removes itself from the game, then restores itself. When you kill something its dead and a corpse is easier to cope with than a unit
04-22-2003, 09:37 AM#8
SyDemon
Wow thanks that's pretty enlightening. :D