HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Few questions from beginner

01-15-2009, 12:44 AM#1
epiccc
Hello, i have few question to you, wc3c.
First of all, i shall tell that i'am making a map simlar to DotA.
I understand how to create creeps, but how to give them orders? i tried everything, including (last created unit) commands...
Second question - How to make team win after destroying one objective, like throne and tree in DotA?
Third and last - How to make gold gain periodicaly?
Thanks, ep!c.
01-15-2009, 12:32 PM#2
Vexorian
Quote:
I understand how to create creeps, but how to give them orders? i tried everything, including (last created unit) commands...
That works, so you should probably post your attempt.
Quote:
Second question - How to make team win after destroying one objective, like throne and tree in DotA?
You use the victory trigger action

Quote:
Third and last - How to make gold gain periodicaly?
periodic event and player state change
01-15-2009, 01:21 PM#3
epiccc
Thanks for everything, i made creeps working. Another question - How to make win while team capture the flag 3 times? :>
01-15-2009, 02:19 PM#4
Kwah
Increase an int each time, and run a periodic event testing that integer.
01-15-2009, 02:30 PM#5
akolyt0r
Quote:
Originally Posted by hawk900
Increase an int each time, and run a periodic event testing that integer.

naaah ..do that check in the same trigger the integer is increased ..
no need for an periodic event.
01-15-2009, 02:33 PM#6
Kwah
Gah.

Good point.