Warcraft III resources & community, 2003–2006 · archived

Walk Me Through This

3 posts
#1

Walk Me Through This

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
#2
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
#3
Thanks a tons dude. You have really been a huge help. That was even more specific than i was exspecting :D