GetEditorLocation - ObjectReference
Revision as of 13: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
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
- 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.