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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login