Background for Skyrim SE
Member of the ObjectReference script

Description

Wiki Description

Obtains this reference's editor Location.

Documentation Comment

Returns this reference's editor location


Caveats

CK Wiki - Notes

  • Similar to ObjectReference.GetCurrentLocation(). If the cell the reference has been placed in, has no location assigned to it, then this function will also return none.

Examples

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

Auto-Generated Example

Location returnedValue = myObjectReference__toCallFunctionOn.GetEditorLocation()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.