Hi there,
Can anyone help me with mass attack triggers? Either show me here or link me to somewhere.
I've searched around to no avail. I used to create these all the time in SC1 but the SC2 triggers have a very steep learning curve... :(
I'm trying to create a trigger that allows certain units across the map to attack to a certain point...ie. In Heaven's Last Defense or Helm's Deep Attacker Triggers. I've actually looked at the trigger code for one of the versions of HLS but it was very convoluted and had blobs of triggers upon triggers.
Basically I want this:
1. Have an Observor act as a mass attack point (I think I got this by having a point follow the Observor Unit around every 2 seconds), and
2a. have the Observor be able to cast an ability to automatically triggers the mass attack and have everything (except a few units) attack to the Observor.
OR
2b. have a separate unit move onto a region/point or cast an ability that triggers the mass attack and have everything attack to the Observor.
The tutorial map attack thing looks really similar to a map I made in SC1. :p
Apparently it needs HotS b/c I'm missing a lot of textures and there aren't any triggers for mass attack orders to a moveable point?
The other one doesn't have what I'm looking for either. Thanks anyways.
For a mass attack ability, you simply want an Effect Instant Ability on the Observer, that runs a search area effect (Filter for allied units, and use validators to filter out any other unit type you don't want), then run a Issue Order Effect, with the Unit for the Order set to Target Unit, and the Target for the Order set to Caster Point, with the Ability being Attack. Set the Search radius to 500 so it will search the entire map.
@ArcaneD, yep that's what I was thinking and what Ultragon's map uses, thanks.
@Ultragon that helps a lot and is almost exactly what I'm looking for! Thanks!
Hi there, Can anyone help me with mass attack triggers? Either show me here or link me to somewhere.
I've searched around to no avail. I used to create these all the time in SC1 but the SC2 triggers have a very steep learning curve... :(
I'm trying to create a trigger that allows certain units across the map to attack to a certain point...ie. In Heaven's Last Defense or Helm's Deep Attacker Triggers. I've actually looked at the trigger code for one of the versions of HLS but it was very convoluted and had blobs of triggers upon triggers.
Basically I want this: 1. Have an Observor act as a mass attack point (I think I got this by having a point follow the Observor Unit around every 2 seconds), and 2a. have the Observor be able to cast an ability to automatically triggers the mass attack and have everything (except a few units) attack to the Observor. OR 2b. have a separate unit move onto a region/point or cast an ability that triggers the mass attack and have everything attack to the Observor.
The easyest way to do this is to add all units you want to mass attack to a unit group on creation or game start.
Then you issue orders to the unit group to attach relative to observer on a loop.
add or remove units as needed.
@SoulTaker916: Go
Can you copy and paste the trigger text?
thanks
Here's a file on a map I've been thinking about making a tutorial on. Might help you figure some stuff out.
@MaskedImposter: Go
The tutorial map attack thing looks really similar to a map I made in SC1. :p Apparently it needs HotS b/c I'm missing a lot of textures and there aren't any triggers for mass attack orders to a moveable point?
The other one doesn't have what I'm looking for either. Thanks anyways.
Anyone else have simple code for spell-activated point-mass attack triggers?
For a mass attack ability, you simply want an Effect Instant Ability on the Observer, that runs a search area effect (Filter for allied units, and use validators to filter out any other unit type you don't want), then run a Issue Order Effect, with the Unit for the Order set to Target Unit, and the Target for the Order set to Caster Point, with the Ability being Attack. Set the Search radius to 500 so it will search the entire map.
Some little map I've thrown together, just look at it and tell me if that's what you want
@ArcaneD, yep that's what I was thinking and what Ultragon's map uses, thanks. @Ultragon that helps a lot and is almost exactly what I'm looking for! Thanks!
Thanks a lot guys! I think I got it!