• 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!

Let attack all units in gebiet000 to gebiet001?

Status
Not open for further replies.
This will get all the zombies in your Region 000 and make then attack-move to your Region 001, this will only work if the units the zombies are moving to are Enemies.

  • Zombiezzzzzz
    • Events
      • Your event to trigger the attacking
    • Conditions
    • Actions
      • Set Zombies = (Units in Region 000 <gen>)
      • Set AttackPoint = Region 001<gen>
      • Unit Group - Pick every unit in test and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack-Move To AttackPoint
      • Custom Script: call DestroyGroup(udg_Zombies)
      • Custom Script: call RemoveLocation(udg_AttackPoint)
 
Last edited:
im now here:
unbenanntoz1.png

what to do then?
 
Click the first part of text. Select Picked Unit (Or whatever that is in german).
Click on the second part of the text. Click the up arrow key once or twice. Attack move should appear.
Click the third part of the text. Select: Variables > AttackPoint.
 
its look now like this but it dont work?
unbenanntlf9.png


//it tell me when i active it that it wait for 2 names?
 
Last edited:
What happens that makes your zombies attack?

Also as Hawk said change:

  • Customs
    • Custom Script: call DestroyGroup(udg_Zombies)
    • Custom Script: call RemoveLocation(udg_AttackPoint)
to:

  • New trigger
    • Custom Script: set bj_wantDestroyGroup = true
    • Set AttackPoint = Region 001<gen>
    • Unit Group - Pick every unit in test and do (Actions)
    • Loop - Actions
    • Unit - Order (Picked unit) to Attack-Move To AttackPoint
    • Custom Script: call RemoveLocation(udg_AttackPoint)
 
You should have:

  • Unit - Order (Picked Unit) to Attack-Move to AttackPoint
At the moment you've set AttackPoint to your region but you haven't told them to attack-move to it you've told them to attack move to another region.
 
it work now after long misstakes and realy nice and good help from members...
thanks to all for let this work :thumbs_up:
 
Status
Not open for further replies.
Back
Top