Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED] Help with conditions
[SOLVED] Help with conditions
Jul 6 2011, 1:25 am
By: Veta  

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



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.



None.

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



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



None.

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

An artist's depiction of an Extended Unit Death

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




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



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.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[2026-9-23. : 2:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
[2026-9-23. : 2:29 am]
Symmetry -- But can AI beat my custom maps?
[2026-9-22. : 12:32 pm]
Oh_Man -- yea APM vs eAPM
[2026-9-22. : 8:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[2026-9-22. : 8:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
Please log in to shout.


Members Online: Roy, dgdsfsf