Dota like creep behaviour with normal triggers?

najrasaam

New Member
Reaction score
0
As the title (Dota like creep behaviour with normal triggers?) says:

I have a map and i want creeps of opposite forces to attack each other with priorities. Is this possible with normal triggers? and if not, what is the code for a custom script?


Tnx in advance, :cool:
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Units have a "Stats - Priority" field in the Object Editor. It is possible that what you are looking for is the exact purpose of that field. Try playing around with it.
 

Seprest

New Member
Reaction score
15
as OP says, use that field.

The higher the number the more the AI will want to attack it. It is best to find out what group of units will be attacking eachother and modify that field based on that, IE:

You have a footman, an archer, and a priest

you want footman to be targeted first, then archer, then priest.

You could set the fields to 3, 2, 1 respectively. You may want to check other units and buildings in your map first though, generally buildings are attacked last, so make sure your units have values above all the buildings' priority field if you want this behavior.
 
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