Currently there’s no way to tell which player has rotated an object and for some games (mine included), this would be valueable information. Would include the player and the object rotated as args.
This is extremely useful for mods that have sub “Undo” mechanics, where you save the state on each move. Currently rotation goes completely unnoticed.
Please look at a generic callback for when an object is changed. For example flipped, pushed, rotated, moved to due to collision, …
Aitor, can you tell me a mod that uses the save state on each move? It sounds similar to my idea to have controll over the undo save points, maybe I can modify it to what I need.
I don’t use the “save state”, but save a “state”, custom made. Here it is if you are interested:
https://github.com/leberechtreinhold/dba3_tts/blob/master/scripts/logic_history_stack.ttslua
However, since there’s no OnRotate, OnFlip etc, there are many events that this is not reliable.