Difference between revisions of "GetEditorLocation - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Rasikko
(will return none as well, if the cell has no location assigned to it.)
 
Line 23: Line 23:
endIf
endIf
</source>
</source>
== Notes ==
* Similar to [[GetCurrentLocation - ObjectReference]]. If the cell the reference has been placed in, has no location assigned to it, then this function will also return none.


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
*[[GetCurrentLocation - ObjectReference]]
*[[GetCurrentLocation - ObjectReference]]

Latest revision as of 14:16, 19 December 2017

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]