HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Randomly spawning creatures

10-20-2003, 06:12 PM#1
Duto
Hey! Hopefully this won't rack anyones brain.
how do i make a random monster (between levels 4-7) spawn in one area (at random times), then run to another area of the map and attack whatevers there?

ALSO

How would i go about creating a condition for victory such as "defend such and such (a building) for such and such amount of time"?

Thanks so much in advance!

btw, you can email me at [email protected]
10-20-2003, 11:37 PM#2
Arohk
This trigger would work verry well :D

*Zeit - Every XXX seconds of game time ( XXX the time you want)

*No condition

*
a)Einheit - Create 1 (Random level (Random integer number between 4 and 7) creep unit-type) for Spieler X (Rot) at (Center of REGION <gen>) facing Vorgabe für Gebäude-Ausrichtung degrees
b)Wait 0.10 seconds
c)
Einheit - Order (Last created unit) to Angreifen (Random unit from (Units in REGION2 <gen>))



i hope you understand it :ggani:
10-21-2003, 01:12 PM#3
Duto
Thanks Arohk!!! It took a little work deciphering, but i got it =)
and it worked perfectly!

Thanks so much!