on_player_rotated_entity - prior direction?

Post Reply
shanemadden
Fast Inserter
Fast Inserter
Posts: 128
Joined: Thu Feb 08, 2018 8:25 am
Contact:

on_player_rotated_entity - prior direction?

Post by shanemadden »

I have a case where it would be useful to know which direction an entity was rotated in (clockwise or counterclockwise). Would it be relatively simple to add a new parameter to on_player_rotated_entity to indicate either the entity's .direction previous to the successful rotation, or the direction the entity rotated in? Thanks!

Rseding91
Factorio Staff
Factorio Staff
Posts: 13198
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: on_player_rotated_entity - prior direction?

Post by Rseding91 »

Ok, I've added it for 0.17.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Implemented mod requests”