Giving a simple command to a unit
-
Could someone explain to me how in LUA a move command can be given to a currently selected unit?
-
IssueMove(tableOfUnits, position)
https://github.com/FAForever/fa/blob/deploy/fafdevelop/engine/Sim.lua#L870
Have in mind those command only work in the SIM-State of the game.
That means all players need this mod installed in a network game or you will get desyncs.Before you ask, there is no move command for the UI-State of the game.