HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I've problems with my heroes/altar

08-22-2002, 03:16 PM#1
Guest
I'm a real wc3 editing n00b.. and I REALLY need help with this one!

I've been trying to let the human altar of kings build Sylvanas Windrunner (a hero that is contained within the original game... but can not be built). I've also deleted the paladin from the altar to make space for her. The problem is that there is no limit for how many "Sylvanas Windrunners" you can build...

Is there any way for me to make a limit for SW-units?
08-23-2002, 04:22 AM#2
4d5e6f
make sure the sw unit is a hero. an easy way to make a hero: make a custom unit. choose the basic unit to be any hero. Then reslect the model to be whatever you want. change all the stats to whatever sw is. wala you have a hero sw.(whoever sw is)
08-23-2002, 11:30 AM#3
Guest
If you're trying do do some mod and you have added new units directly into the Units\*.slk files, you should edit Scripts\blizzard.j; there is a function in it that prevents the player from making more than one hero with the same ID; just add your hero's ID there. I don't remember the name of the function but you should search one hero's ID in the file to get to it. It works real fine with me.