• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

I need some trigger help plz.

Status
Not open for further replies.
Level 16
Joined
Oct 30, 2004
Messages
1,277
Make two triggers. 'Random_Unit' is a variable 'unit type' and array 6 (or the number of units you want)

Trigger1
Events - Map inizialation (what ever i cant spell it :))
Conditions - None
Actions:
-Set Random_Unit [1] = footman
-Set Random_Unit [2] = grunt
-Set Random_Unit [3] = ghoul
-Set Random_Unit [4] = Mini-Me
-Set Random_Unit [5] = Clan
-Set Random_Unit [6] = CBS

Yes i know... :)

Trigger2
Events - Every 5 seconds of the game time
Conditions - None
Actions:
Create 1 Random_Unit [Random integer between 1 and 6] for player1 at center of <region>

There you go. Have fun
 
Status
Not open for further replies.
Top