Lua startingCell to return the original cell

Closes #9010 (closed).

Complements startingPosition and startingRotation in the api.

Helpful for NPCs mods that moved them out of their original cell and need to return them back.

Everytime a newly created object is placed into a cell, which includes dropping item from inventory, the startingCell of the object is set to that cell.

Edited by Alexei Kotov

Merge request reports

Loading