Merge branch 'draft' into 'master'

Treat teleportation out of the draft cell as object creation

Closes #7588 and #7453

See merge request OpenMW/openmw!3455
This commit is contained in:
psi29a 2023-09-28 08:33:10 +00:00
commit 6c39e3f817
8 changed files with 50 additions and 17 deletions

View file

@ -134,6 +134,7 @@
---
-- Create a new instance of the given record.
-- After creation the object is in the disabled state. Use :teleport to place to the world or :moveInto to put it into a container or an inventory.
-- Note that dynamically created creatures, NPCs, and container inventories will not respawn.
-- @function [parent=#world] createObject
-- @param #string recordId Record ID in lowercase
-- @param #number count (optional, 1 by default) The number of objects in stack