Suggestion: engies told to build a mex will capture it

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Suggestion: engies told to build a mex will capture it

Postby armacham01 » 18 Feb 2019, 03:34

If you tell an engie to build a mex, and it gets there and finds an enemy mex, it will cancel the order and move on to the next command in its queue.

It would be better if, instead, the engie immediately attempted to capture the enemy mex, before moving on to its next order.
armacham01
Avatar-of-War
 
Posts: 232
Joined: 09 Feb 2019, 09:01
Has liked: 54 times
Been liked: 109 times
FAF User Name: arma473

Re: Suggestion: engies told to build a mex will capture it

Postby Uveso » 18 Feb 2019, 04:22

Hello armacham01,

i am sorry, but this is not possible.

We can only change the LUA part of the game.
After telling your engineer it's way, the c-engine will execute the move and buildorders.
There is no callback to the LUA part of the game where we could check if a command was successful executed.

So we can't change the buildorder to a captureorder because LUA will never know that the buildorder was canceled by the c-engine.
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest