GetEditorLocation - ObjectReference

From the CreationKit Wiki
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]