GetEditorLocation - ObjectReference
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.)
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]
- 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.