Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Add an 'onRotate' event#35

R

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.

3 years ago
1

This is extremely useful for mods that have sub “Undo” mechanics, where you save the state on each move. Currently rotation goes completely unnoticed.

3 years ago
1
Changed the status to
Research
3 years ago

Please look at a generic callback for when an object is changed. For example flipped, pushed, rotated, moved to due to collision, …

3 years ago

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.

3 years ago

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.

3 years ago
B
Changed the status to
In Progress
3 years ago
Changed the status to
Completed
3 years ago