Forged Alliance Forever Forged Alliance Forever Forums 2019-02-18T04:22:07+02:00 /feed.php?f=2&t=17235 2019-02-18T04:22:07+02:00 2019-02-18T04:22:07+02:00 /viewtopic.php?t=17235&p=172019#p172019 <![CDATA[Re: Suggestion: engies told to build a mex will capture it]]>
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.

Statistics: Posted by Uveso — 18 Feb 2019, 04:22


]]>
2019-02-18T03:34:26+02:00 2019-02-18T03:34:26+02:00 /viewtopic.php?t=17235&p=172018#p172018 <![CDATA[Suggestion: engies told to build a mex will capture it]]>
It would be better if, instead, the engie immediately attempted to capture the enemy mex, before moving on to its next order.

Statistics: Posted by armacham01 — 18 Feb 2019, 03:34


]]>