Mass Attack help

AEK

New Member
Reaction score
0
Ok, im currently creating a map where i need buildings for each player that allow mass attacking for all units (excluding heroes and wisps) to the middle of the map and each of the bases (top, bottom, left, right etc.) which will continue to mass attack until told to stop.

This is how i thought to do it (fireworks'd SS ftw):
randomnameforfilelol.png


I'm not sure if this is doable (a whollllllle lotta stuff is doable lol.) but if it is possible could someone guide me on how to do this or tell me where to repost this if im posting in the wrong place.

Thanks in advance, AEK

Oh, and i showed the model and minimap just incase it was needed :D
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
What? :confused:




Just base each 'arrow' from the ability Channel.
Then when that 'ability' is casted, pick all units owned by (owner of triggering unit) and order them to attack move to that point.
I guess that's what you wanted.
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
no he wants to keep ordering his units
make abilities and then make a point variable with array then let run a trigger that periodically orders all the wanted units to move to that point
and when your mass orderer casts "stop" then only set the point variable to nothing or to your own base
 

BlackRose

Forum User
Reaction score
239
Well, yes that would work. Just pause all units when stopped?

Well, You could order every unit owner by player INSERT NAME matching (matching unit) is a wisp = false and is a hero = false. SOMETHING along those lines. At least I think. Anyways I'm just guessing it, I don't got WE on this comp.
 

Rheias

New Helper (I got over 2000 posts)
Reaction score
232
Alright, each "arrow" should be based on ability given to the building. Then do:

Event: Unit starts the effect on a ability
Concdition: <The Building> is the triggering unit
Actions: set group = all units owned by owner of triggering unit that are not heroes nor wisps.
if ability is equal to mass mid then
- pick every unit in group and do
-- order picked unit to attack move center of <mid region>
...
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
If he wants the units to keep Attack-Moving, then :

Make a trigger that periodically picks units (excluding Heroes and Wisps).
And make another trigger that has the event 'Starts the effect of an ability'

When the 2nd trigger is triggered, check the 'arrow' ability casted and set an IntegerVar to 1/2/3/4/5 (bottom, left, right, top, stop)

That 1st trigger, checks if that IntegerVar is 1, order units to attack-move to bottom, if it's 2, order units to attack-move to left, if it's 5, don't order anything / order them to Stop.

Get the picture?
 

AEK

New Member
Reaction score
0
Thanks for the help i will try it now, i'll try to reword what i was asking because i think i was unclear.

I want to click one of the abilities that are in the screenshot, and i want all my units (except heroes) to move-attack to the selected base (or middle) and to continue making units move-attack there as they are spawned, only stoppign when i tell it to with the stop ability.

But yes, most of that seems reasonable and i can see how it would work, i will try it now :) Thanks for the help, if anything goes amiss i'll come back :p


Edit: I do not see how to do:
"set group = all units owned by owner of triggering unit that are not heroes nor wisps."
Edit2: Also wouldnt: "that are not heroes nor wisps" be in conditions?
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
> reword

You mean "rephrase' :p

Set Variable = Value

Change the value to "Units in Region matching Conditions"
Change 'Region' to 'Playable Map Area'
For the Conditions, use a lot of ANDs.
 

AEK

New Member
Reaction score
0
>You mean "rephrase' :p

Yeah yeah, lol i'll try that thanks :p

edit: Bah i may aswell quit will im almost ahead :p i hate variables i sitll dont get it im a slow learner :p so firstly im creating a variable called value?

EDIT 2 & 3
Event - Unit - Coral Bed 0032 <gen> Starts the effect of an ability.
Condition - (Ability bing cast) equal to Mass Mid (Neutral Hostile)
- (Triggering unit) equal to Coral Bed 0032 <gen>
Action - Unit- Order (Random Unit from (units in (Playable Map Area) owned by (player 1 red))) to attack move to (Centre of Mid <gen>)

thats all i got so far and im not sure if the action will move all units or a single unit form the entire map. and i still need to stop wisps and heroes form being moved.
 

AEK

New Member
Reaction score
0
Spawning

Also i've done all my triggering for spawning the units but it spawns one unit then stops ( i want it to spawn 1 unit each second) this is my trigger.

Event: Unit - A unit enters REGION
Conditions: (Owner of (Triggering Unit)) Equal to PLAYER 1 (RED)
(Unit-type of (triggering unit)) Equal to WISP
Actions: Wait 1.00 seconds
Create 1 UNIT for (Owner of (Triggering Unit)) at (centre of REGION)

I put in the wait 1 second thinking that it would produce 1 unit very second, but it waits 1 second then prouces 1 unit, no more.
 

BlackRose

Forum User
Reaction score
239
So what is the problem?

Couldn't you have turn off (this trigger), wait 5.00 seconds. Turn on (this trigger)
Turning it off does not stop its current actions, unless you use skip remaining actions.
 

AEK

New Member
Reaction score
0
The problem is at the moment its only spawning one unit and it will only spawn another if i move the unit away and back into the region when i need it to spawn 1 unit per second. Would turning the trigger off and waiting a second and then turning it back on cause it to loop itself and therefore creating a unit each second?

Event: Unit - A unit enters REGION
Conditions: (Owner of (Triggering Unit)) Equal to PLAYER 1 (RED)
(Unit-type of (triggering unit)) Equal to WISP
Actions: Create 1 UNIT for (Owner of (Triggering Unit)) at (centre of REGION)
Turn off (this trigger)
wait 1.00 seconds
Turn on (this trigger)

Would that work?
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Hmm..?
I don't get what you mean.
You mean you want a unit to enter a region, and then units would start to spawn inside the region every second?

Use 2 triggers.
1st trigger, when a unit enters REGION <gen>, turn on 2nd trigger.
2nd trigger periodically creates units in REGION.

[off-topic]
1111 Post!!!11one!! :D
 

AEK

New Member
Reaction score
0
Sigh i must be an effing idiot or something, how do i get it to periodically create units. Im going to sleep a bit and try this again tomorrow, Congrats on your 1111th lol. im on what, my 6th? Thanks for all your help tonight :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top