Mod:Creation Kit/GetCurrentLocation - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Obtains this reference's current Location.

Syntax
Location Function GetCurrentLocation native

Parameters
None.

Return Value
This reference's current Location.

Examples
if (TombLocationProperty == SwordProperty.GetCurrentLocation) Debug.Trace("The sword is in the tomb (but not a child location)!") endIf
 * Is this object in the tomb?