Caster attack target point

Maarten

New Member
Reaction score
0
Hi there,

When I autowalk with trigger action: Order unit to attack target point, non-shooting units (casters like, High templars, infestors, Phoenix (on ground), Medivac) and turn on the autocast. They will autocast when the engaging enemy targets, but they also just walk/fly straight to the point I force them to go.. But I want them to stay on the line and DONT pass enemy targets.. I tried to give them a weapon (without damage), so they wont pass the enemy targets before they are killed. But It didnt work. Also I'm convinced there must be a cleaner en more efficient way to accomplish this. Help me!!! :D

To get a cleaner idea what I mean: Look at the game Desert Strike. The units autowalk from A to B. Caster wont pass enemy targets and stay on the line.

I hope someone can help me with this, I would really appreciate every input!

Thanks in Advance!

Maarten
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Make the weapon deal some damage, like 0.5, due to 0 amount did not work?

Give the units an ability, on autocast, which targets enemy units at the range you want them to stand still (this would remove the weapon on the unit, at least)?

Trigger it. If enemy units are within 5 range of the casters, order them to hold position (or stop).
Would be enough to order them to stop/hold position once, after the "Unit uses an ability" event, then add them to a group. Every 0.66 seconds, you check the unit group for units, and check nearby enemy units around him, if none, order to attack move to location B. Do note: this might require the Unit-tab, select a unit, and the field "Behavior: Response" to be changed to "no flee" or "no response".
 
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