• 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.

trigger help

Status
Not open for further replies.
Level 1
Joined
Jan 21, 2005
Messages
3
i dont know how im going to do this but what i want is...

a zeplin(dropship) goes to random point on map and drops 10 footmen goes to another point drop 10 footmen ect

heres what iv got
----------------------
event: every 65 sec of game

acton: order "dropships" to random point in playable map area
create 10 footmen at point of dropship
-----------------------------------
that works fine..

now what i want is after xx amount of time, the drop ships to drop 10 peons instead of footmen

how would this best be done?
 
Level 8
Joined
Jul 3, 2004
Messages
404
create a Variable

Each time this trigger starts, add +1 to that variable.

And create a trigger like this:

Action

If\Then\Else Multiple actions
Condition:
"Variable" Equal to 1
Action
create 10 "your units"


Each tmie you must +1 the condition
Condition:
"Variable" Equal to 2

Condition:
"Variable" Equal to 3
etc
 
Level 1
Joined
Jan 21, 2005
Messages
3
what kind of varible?

and what would the if/then/else be?

if ???/then create 10 footmen/else do nothing?
 
Level 10
Joined
Aug 2, 2004
Messages
703
like this


Events
Time - Every 65.00 seconds of game time
Conditions
none
Actions
Set Lvl_Num = (Lvl_Num + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Lvl_Num Equal to 1
Then - Actions
Unit - Order Goblin Zeppelin 0000 <gen> to Move To (Random point in (Playable map area))
Wait 60.00 seconds
Unit - Create 10 Footman for Player 1 (Red) at (Position of Goblin Zeppelin 0000 <gen>) facing Default building facing degrees
Else - Actions
Do nothing
 
Level 1
Joined
Jan 21, 2005
Messages
3
yeah but i only want it to drop a new type of unit after say 7 mins but all the while i want the zeplin to be dropping footmen every 65 seccs
 
Status
Not open for further replies.
Top