Warcraft III resources & community, 2003–2006 · archived

Trigger HELP!

6 posts
#1

Trigger HELP!

OK so i wanted this building done for the Undead

it is a crypt and it spawns zombies every ten seconds from any of these buildable crypts (buildable by undead, called anscentoral tomb)

anyway i did most of the trigger i just need some one to tell me how i can get this to work for everyone one of these buildings made and not just one specific building that is already placed on the map.

Any help?

so far this is the trigger

Event-Every Ten seconds of game time
Conditions-Non
Action-Creates 1 zombie for Player 1(red)at (position of ancestroal tomb 0151 <gen>)facing (position of ancestroal tomb 0151 <gen>)
#2
bump
#3
i cant remember if it will work but make the trigger use "Unit Type" Thing (or unit group idk), else create a variable called whatever, make it a unit group. Then another trigger to add to the variable each time a building is built.
#4
what about this?

Unit Group - Pick every unit in (Units of type ancestroal tomb) and do (Unit - Create 1 zombie for (Owner of (Picked Unit) at (Position of (Picked unit)) facing (Position of (Picked unit) degrees)
#5
Thats what i was thinking! I just couldnt be bothered to open WE to find out :lol:... Im sooo lazy :)
#6
Thanks!