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

Walk Me Through This

Status
Not open for further replies.
Level 5
Joined
Mar 17, 2005
Messages
135
Can you walk me through on how to make this condition please?

Number of units in playable map area matching (unit type of matching unit = mazer) and (matching unit is alive = true) = 0

Also this Action

If level = 1
Then pick every unit in (units of type mazer) and do resurrect picked unit at (level 1 region)
Else do nothing
 
Level 7
Joined
Aug 5, 2005
Messages
218
To do the condition:

Integer comparison

Unit - Count units in unit group

Units in region matching condition

Click on Condition

Select "And"

Click on Condition 1

Unit type comparison

Change "Triggering unit" to "Matching unit"

Change "Footman" to "Mazer"

Click ok

Click on Condition 2

Boolean comparison

Click on "Triggering unit is a structure"

Select Unit - Unit is Alive

Change "Triggering unit" to "Matching unit"

Press OK on all boxes



To do the action:

If/Then/Else

Click on Condition

Select Integer comparison

Change "Number of units in playable map area" to "level" variable

Click OK

Change "0" to 1

Click OK twice

Click on the first Action

Select Unit Group - Pick Every Unit In Unit Group And Do Action

Click on "Units in playable map area"

Select Units Of Type

Change "Footman" to "Mazer"

Click OK

Click on Action

Select Hero - Revive (Instantly)

Click on Hero

Select Picked Unit

Click on "Center of Playable map area"

Click on "Playable map area"

Select Level 1 region

Click OK 5 times

Click on Action

Click OK twice
 
Status
Not open for further replies.
Top