[skip all navigation]

[SOLVED] Help with conditions, Condition: Unit Type is in a location

Creator: Veta
Time: Jul 6 2011, 1:25 am

Post #1     Veta Jul 6 2011, 1:25 am

[Avatar]
offlinecontact
Rank: Member
Hi there,

In Brood War you could make it a condition that at least one type of unit is in a location. This was useful if you wanted a trigger to fire if say any enemy unit is in a given location and only if.

Is there an equivalent in StarCraft 2's GUI triggers that makes it a condition that a unit type (not an individual unit) is in a given location. Or is there some way to accomplish this through secondary triggers and events? I'm aware there's a function for a unit entering/leaving a location, that's not really what I want.

Top

Post #2     Killer2121 Jul 6 2011, 1:53 am

[Avatar]
bannedcontact
Rank: Member
look into the campaign maps and find these condtions that your searching,

take notes, and record them then go back to your map and remake these triggers in your map.

obviously if you researched in depth.. the campaign in starcraft 2 uses these ''bring'' condition / actions alot..

Top

Post #3     Roy Jul 6 2011, 2:50 am

[Avatar]
An artist's depiction of an Extended Unit Death
onlinecontact
Rank: Veteran
(Number of Living units in (Any units in MY_REGION owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) >= 1

You get the "Number of Units From Unit Group," and for the unit group, you use "All Units in Region Matching Condition."

Quote from Killer2121
obviously if you researched in depth.. the campaign in starcraft 2 uses these ''bring'' condition / actions alot..
If you researched in depth, you'd know that a condition checking units in a region is significantly different than an event firing when a unit enters/leaves a region. I can't think of any campaign examples for Veta's dilemma, and we're here to help, not criticize.

Top

Post #4     Veta Jul 6 2011, 5:42 am

[Avatar]
offlinecontact
Rank: Member
Thanks Roy. I'm not quite sure what this other fellow's problem is. I'll give the guy the benefit of the doubt, perhaps he's not really a jerk and just had a bad day.

Although judging by his avatar (which resembles Hitler) I think it would be fair to question how couth he really is.

Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[05:14 am]
RIVE -- I pray to Mozzarella because I fear the Rapture.
[04:42 am]
jjf28 -- it's evil, pure, demonic, evil
[04:42 am]
jjf28 -- nothin' holy bout dat holey cheese
[04:22 am]
Dem0n -- also get on skype XD
[04:21 am]
Dem0n -- I'm curently eating pepper jack cheese :O
[04:18 am]
lil-Inferno -- Only Swiss cheese is holy
[04:18 am]
Dem0n -- WUT EAT]\
Please log in to shout.