[2.0.43] LuaCommandable.is_script_driven is false despite setting commands by script
Posted: Wed Mar 26, 2025 5:20 pm
Select a unit that is part of a unit group and run the following command. It will print false, despite clearly setting a command.
This is the same by using mods, not just with console. In fact, i was not able to make is_script_driven return true at all in any circumstances.
Code: Select all
/c group = game.player.selected.commandable.parent_group; group.set_command{type=defines.command.go_to_location,destination={0,0}}; game.print(group.is_script_driven)