Disabled flow fields for RTS / Removed pathfind command
This commit is contained in:
@@ -392,9 +392,6 @@ public class LExecutor{
|
||||
case within -> {
|
||||
exec.setnum(p4, unit.within(x1, y1, d1) ? 1 : 0);
|
||||
}
|
||||
case pathfind -> {
|
||||
ai.control = type;
|
||||
}
|
||||
case target -> {
|
||||
ai.posTarget.set(x1, y1);
|
||||
ai.aimControl = type;
|
||||
|
||||
@@ -6,7 +6,6 @@ public enum LUnitControl{
|
||||
move("x", "y"),
|
||||
approach("x", "y", "radius"),
|
||||
boost("enable"),
|
||||
pathfind,
|
||||
target("x", "y", "shoot"),
|
||||
targetp("unit", "shoot"),
|
||||
itemDrop("to", "amount"),
|
||||
|
||||
Reference in New Issue
Block a user