GetEditorLocation - ObjectReference

From the CreationKit Wiki
Revision as of 14:16, 19 December 2017 by imported>Rasikko (will return none as well, if the cell has no location assigned to it.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Obtains this reference's editor Location.

Syntax[edit | edit source]

Location Function GetEditorLocation() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

This reference's editor Location.

Examples[edit | edit source]

; Did this object start in the tomb?
if (TombLocationProperty == SwordProperty.GetEditorLocation())
  Debug.Trace("The sword started in the tomb!")
endIf

Notes[edit | edit source]

See Also[edit | edit source]