HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Big help with triggers.

02-16-2007, 05:55 PM#1
JimmySmith
After doing some terrian work. I thought it's about time to try and acutally make a map...

But, I can't make head or tails of these triggers. I thought i would try and make a simple map to begin with.. Well i thought it would be easy but it turns out it's alot harder than I first thought.

I have two forces... 1 Undead (1 human player) and Humans (7 Human players) anyway i want it so after a min or two the game will spawn the Zombie (the chosen unit for the undead player)

And triggers for when a zombie kills a Human "Pesant" all of that players units/Buildings/Lumber is removed and is replaced with "Tome stone" and a Evil Mini Pesant is born who is now allied with the undead player and now enemys with the humans.

Im sorry to be a pain, but i need someone to go into detail of how its done.. Or make the triggers for me and ill Import them.. Eather that or get a trusted member here to help me make the map...

Thank you for any time you have.
02-16-2007, 08:58 PM#2
RaptorTeak
Hi !

For the first parti of it, just make an event 'generic unit dies'.

Then two conditions :

"killing unit equal to Zombie"
"killed unit equal to Peasant"

(use "unit comparaison" for that), and event-answers for killing unit and killed unit.
Notice that killing unit and killed unit work because the event is "a unit dies", so it provides you all the data you need to know what unit died (killed unit), and which unit killed this one (killing unit).

Then, just make a unit pick (unit group), and remove them.

But you want all the buildings to each be replaced with a "Tome stone" ?

Anyway, then, use the event "unit - create unit", create it for "Owner of (killed unit) " (so for the owner of the peasant).

Finally, use an even to ally two players...