I don't like having to poll LuaEntity::has_command() or LuaUnitGroup::state.
So a on_command_finished event would be great, maybe with parameters of kind
event.player_index
event.entity
if the command was a compound command of type
Code: Select all
defines.compoundcommandtype.logical_and
Code: Select all
defines.compoundcommandtype.logical_or
Code: Select all
define.scommand.compound.commands
Furthermore I would have a question regarding
Code: Select all
defines.compoundcommandtype.return_last
Which kind of result does it return to whom?compoundcommandtype.return_last Perform all the commands and return lasts result
nice one
Kind regardsHow are commands compounded in a compounded compound command commanding compound composts.
SixpackButtermilch