My mod Railway Motor Car (Version 0.4.0) works like this:
1. Wait for the toggle-driving-key press
2. Create a locomotive at the rails (+checks + teleport character, ...)
3. Wait for the game to execute their version of the toggle-driving-event, thus entering the locomotive.
This worked with Factorio 1.1.80, but not with 1.1.87 anymore.
Step 3 is not executed anymore, and the player is not put into the locomotive.
I actually changed this to entity.set_driver in Version 0.4.1, but that broke my mod in another way: 108506
@Savegame: simply press <enter/leave vehicle> while standing on the rails.
[1.1.87] toggle-driving action is not triggered anymore
[1.1.87] toggle-driving action is not triggered anymore
- Attachments
-
- toggle_driving_test.zip
- (1.14 MiB) Downloaded 50 times
Re: [1.1.87] toggle-driving action is not triggered anymore
Thanks for the report however that is working as intended. Since there is no vehicle near the player the game does not send the toggle driving action.
If you want to get ahold of me I'm almost always on Discord.