Emulate user input / trigger an event
Posted: Tue Jan 30, 2018 8:28 pm
Is there a way to trigger an arbitrary event or user input?
Basically I want to run a save of a game, but instead of playing with mouse and keyboard I would like it to follow a script with predefined commands.
I think I have read about the devs doing something similar when they were filming the intro clip for factorio, so I wonder if it is possible to do it with the modding api.
Any advice on that?
Basically I want to run a save of a game, but instead of playing with mouse and keyboard I would like it to follow a script with predefined commands.
I think I have read about the devs doing something similar when they were filming the intro clip for factorio, so I wonder if it is possible to do it with the modding api.
Any advice on that?