OldTileAndPosition data in script_raised_set_tiles
Posted: Tue Jul 30, 2024 3:49 pm
Is it possible to expose the OldTileAndPosition data when a script runs set_tiles with raise_event=true? This would match the behavior of on_player_built_tile and on_robot_built_tile.
Currently it's not possible to run cleanup code of my mod's tiles when they are removed by a script unless I store the position of each of these tiles in global table when they are first placed and then grab the position from the event.
Currently it's not possible to run cleanup code of my mod's tiles when they are removed by a script unless I store the position of each of these tiles in global table when they are first placed and then grab the position from the event.