enclave's Lua thread

Discussion of Lua and LuaWML support, development, and ideas.

Moderators: Developers, Forum Moderators

Re: enclave's Lua thread

Postby enclave » March 3rd, 2017, 12:01 am

thx gfgtdf ill look into your info ;)
PS. i found that any moveto event makes filtered units (units matching the filter) stop before attack, even if its empty.. any ideas anyone? maybe allow undo could help or something? any any ideas? thanks..
Posts: 427
Joined: December 15th, 2007, 8:52 am

Re: enclave's Lua thread

Postby gfgtdf » March 3rd, 2017, 12:05 am

yes allow undo should help, but ofc you should only do this if this is really undoable.

what teh engine 'thinks' behind this is like this: "an non-undoable event occured, this usually implies a gamestate change so we should give the player a chance to reconsider his move/attack"
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
Posts: 766
Joined: February 10th, 2013, 2:25 pm


Return to Lua Labs

Who is online

Users browsing this forum: No registered users and 1 guest