Warcraft III resources & community, 2003–2006 · archived

Trigger problems (n00b question)

5 posts
#1

Trigger problems (n00b question)

I have made triggers that in the start players are asked what race to choose...they pick smth and get workers and townhall building spawned...

i want the rest of the map to be just like a melee map, but somehow when i bould an altar the 1st hero costs gold also, and i can build the same (custom) hero over and over for every tier. help!!

also, how could i make that when picking night elves or undead they would get an entangled mine... i tried spawning an entagled mine, but then they have 2 goldmines and 1 entangled...

Thanks for your time!!
#2
I quess you've just removed melee initialisation.
About the mines, I'm not sure, but among the triggers is a function that does it.
#3
well, all the melee initialisation triggers are there... also it revelas me to opponents cuz i dont have a townhall...yet i have my custom townhall and i have added it in gameplay constants...

and about the goldmines, what trigger would that be exactly?
#4
maybe for your custom town halls check 'on' the 'is town hall' category where you find the mechanical, ancient and other categories like that.
#5
maybe you need to have a town hall for the correct race?