Attack command

Skippy

Active Member
Reaction score
39
Hello everybody!
I have a (stupid) question. I create few units and issue order to attack some location. Units go and attack everything in their path. But if they kill something, all units that have been attacking suddenly change their destination back to their place of creation.
WHY ?????
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
are those created units belonging to neutral hostile?
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
well you could try this:

Advanced --> Gameplay Constants --> Creeps Guard Return Distance --> 9999999.

but as far as I know Guard/Camping only works for neutrals...


you sure you don't have any triggers that could order them to return? show the spawning trigger
 

Skippy

Active Member
Reaction score
39
Sorry, i have non-english editor, but i try to translate. Here it is:


CreationCreeps
Time - Every 26.00 seconds of game time

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Conditions
(Soldier Camp 0046 <gen> is dead) Equals FALSE
then
Unit - Create 5 Man Soldier for Player 9 (grey) at (Center of HumanSpawn01 <gen>) facing (Center of (Playable map area))
unit group - Pick every unit in (Units in HumanSpawn01 <gen>) and do (If (((Picked unit) belongs to an ally of Player 9 (grey)) equals se TRUE) then do (Jednotka - Order (Picked unit) to move and attack (Center of OgresSpawn01 <gen>)) else do (Do nothing))
else
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Conditions
(Warrior Keep 0052 <gen> is dead) equals FALSE
then
Unit - Create 5 Ogre Warrior for Player 10 (light blue) at (Center of OgresSpawn01 <gen>) facing (Center of (Playable map area))
Unit group - Pick every unit in (Units in OgresSpawn01 <gen>) and do (Unit - Order (Picked unit) to Attack Soldier Camp 0046 <gen>)
else
 

Classe

New Member
Reaction score
1
I dont know if you mean the unit order "attackmove" by saying "move and attack"...

If u issue the units the order "attackmove" i should be clean.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top