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.
[07:41 pm]
Ultraviolet -- just sent you a message on Discord. I suspect you're probably trying to change unit speeds for units that don't use flingy.dat for movement (like any units that walk instead of hovering/flying). You can change their movement to flingy, but they unfortunately look more like they're gliding than walking when you do that.
[07:31 pm]
Symmetry -- EE2, I've been using setdatfile successfully for units.dat and weapons.dat but the flingy changes don't seem to happen
[05:25 pm]
Ultraviolet -- in EE2 you just open DatEdit, go to the flingy tab, and make whatever changes you want. Though if you want to do dynamic shit, you have to use the trigger editor with the setdatfile action. And of course you have to inject your changes when done. Can give more specific troubleshooting advice if you provide more details
[05:20 pm]
Ultraviolet -- Symmetry
Symmetry shouted: why can't I seem to make eud editor change flingy.dat D:
Are you using EE2 or EE3?
[04:57 pm]
Symmetry -- wdym
[02:24 pm]
Apos -- :wob:
[04:16 am]
NudeRaider -- files in c:\program files\ are protected
[2026-7-11. : 8:11 pm]
Symmetry -- why can't I seem to make eud editor change flingy.dat D:
[2026-7-11. : 4:33 pm]
Ultraviolet -- :wob:
[2026-7-10. : 11:00 pm]
Vrael -- :wob:
Please log in to shout.


Members Online: O)FaRTy1billion[MM], lil-Inferno, Symmetry