• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Mass attack

Status
Not open for further replies.

Niborador

N

Niborador

I need help with my map again, i need to do this kind of like starcraft zonecontrol so when a unit enters a circle, all of my units (except peons,peasant,acolytes etc) attack to that place ( player ) please help me, I've got no idea how to do :/
 
I don't really see what you mean, Im kind of new on this stuff, could you please copy it so i can see exactly how it should be?? :D
 
  • Events
    • Unit - A unit enters CircleRegion
  • Conditions
  • Actions
    • Unit Group - Pick every unit in (Units owned by (Owner of (Entering unit))) and do (Actions)
      • Loop - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Unit-type of (Picked unit)) Not equal to Peasant (copy paste for all other units)
          • Then - Actions
            • Unit - Order (Picked unit) to Attack (your target?)
          • Else - Actions
  • Then - Actions
    • Unit - Order (Picked unit) to Attack (your target?)
instead of this you could also do:

  • Then - Actions
    • Unit - Order (Picked unit) to Attack-Move to (Target Region)
 
Uhm, I've done the trigger but it doesn't work, should i make those If-conditions, equal to/ not equal to on EVERY units, or just the ones who shall not attack??
 
not equal to every unit that shouldn't attack.

the units that should attack are owned by the same owner if the unit entering the circle right?

if it stil won't work i could do it for you, just put map in your paste bin and send me link ^^
 
Yeah please do it for me, uhm, how do i put my map in my paste bin? or where is the paste bin?, made my acc for 3-4 days ago :P, wanna test my map before so you know abit more what kind of units that are in the map?? :D
 
Status
Not open for further replies.
Back
Top