Autowalk/Autocast

Maarten

New Member
Reaction score
0
Hi there,


I want to make something like the game 'Desert Strike/Nexus Wars' but countered some problems.
I want to force created units to walk to a certain point and when they counter a unit they auto attack and after that resume the route to the point.

Thereby I want the units autocast abilities/morhping abilities if they are in a specific range.

I know used a trigger:

Event: When unit enters region
Condition: Owner of triggering Unit <= 3
Action: Issue Order Command ability (attack targeting point).


Well this works.

Next I made a ghost autocasting the Snipe

Ability flags:
Autocast on
Autocast Initially on
Autocast turns off if player leaves

Auto Cast Filters: Enemy, Excluded death.. .. .. etc
Auto Cast Range: X
And if I want a Validator: Now I dont have a Validator on it, because it works properly (At least I think)..


But here are the 2 problems:

1: Autocast of morphing abitlies

I can make a Siege tank autocast his Siege mode, but I cant let him go Tank mode when there are no Units in range.. Plus when I do it manually, the Tank becomes idle and doesnt resume the Route (trigger of above)..

The same goes for Burrow and Unburrow..

I want the tank to go siege mode when he coutnered a unit in his range and when the units are dead (no more) it will go tank mode again AND resume his route to the point..

The same goes for the lurker (which need to get burrowed while engaging enemies and UNburrow when there are no more units to attack (or out of range) and resume the route.



2nd problem:

When I autowalk 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 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


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

Thanks in Advance!

Maarten
 
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