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

Location Function GetEditorLocation() native

Parameters

None.

Return Value

This reference's editor Location.

Examples

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

Notes

See Also