/c script.on_event(defines.events.on_train_changed_state, function (event) game.print("changed") end)
Find a train in automatic mode. add a wagon to it. train switches to manual mod but event isn't triggered
[.15.10] on_train_changed_state not fire when train changes
Re: [.15.10] on_train_changed_state not fire when train changes
That's not the train changing state. That's the train being destroyed and a new one created.
You want to also listen to the train created event.
You want to also listen to the train created event.
If you want to get ahold of me I'm almost always on Discord.

