mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Merge branch 'ownership' into 'master'
Lua: Remove legacy ownership documentation See merge request OpenMW/openmw!3912
This commit is contained in:
commit
b9fc9f0827
@ -142,9 +142,9 @@
|
||||
-- @return #string
|
||||
-- @usage if obj.recordId == core.getFormId('Skyrim.esm', 0x4d7da) then ... end
|
||||
-- @usage -- In ESM3 content files (e.g. Morrowind) ids are human-readable strings
|
||||
-- obj.ownerFactionId = 'blades'
|
||||
-- obj.owner.factionId = 'blades'
|
||||
-- -- In ESM4 (e.g. Skyrim) ids should be constructed using `core.getFormId`:
|
||||
-- obj.ownerFactionId = core.getFormId('Skyrim.esm', 0x72834)
|
||||
-- obj.owner.factionId = core.getFormId('Skyrim.esm', 0x72834)
|
||||
-- @usage -- local scripts
|
||||
-- local obj = nearby.getObjectByFormId(core.getFormId('Morrowind.esm', 128964))
|
||||
-- @usage -- global scripts
|
||||
|
@ -22,15 +22,6 @@
|
||||
-- The object the script is attached to (readonly)
|
||||
-- @field [parent=#self] openmw.core#GameObject object
|
||||
|
||||
--- NPC who owns the object or `nil` (mutable).
|
||||
-- @field [parent=#self] #string ownerRecordId
|
||||
|
||||
--- Faction who owns the object or `nil` (mutable).
|
||||
-- @field [parent=#self] #string ownerFactionId
|
||||
|
||||
--- Rank required to be allowed to pick up the object (mutable).
|
||||
-- @field [parent=#self] #number ownerFactionRank
|
||||
|
||||
|
||||
---
|
||||
-- Movement controls (only for actors)
|
||||
|
Loading…
x
Reference in New Issue
Block a user