More work on follow and tanking (added combo tasks)

This commit is contained in:
Pax1601
2023-04-16 20:24:33 +02:00
parent 39698c66a3
commit 77d39c17b8
11 changed files with 158 additions and 114 deletions

View File

@@ -118,7 +118,11 @@ export function attackUnit(ID: number, targetID: number) {
}
export function followUnit(ID: number, targetID: number) {
var command = { "ID": ID, "targetID": targetID };
// X: front-rear, positive front
// Y: top-bottom, positive bottom
// Z: left-right, positive right
var command = { "ID": ID, "targetID": targetID, "offsetX": -50, "offsetY": -10, "offsetZ": 50};
var data = { "followUnit": command }
POST(data, () => { });
}