Disabled flow fields for RTS / Removed pathfind command

This commit is contained in:
Anuken
2022-02-20 14:29:21 -05:00
parent 5e88c5d090
commit 672dfc8538
7 changed files with 13 additions and 27 deletions

View File

@@ -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;

View File

@@ -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"),