IsChild - Location
From Creation Kit
Member of: Location Script
Returns true if the other location is a child of this one. If they are the same location, the function returns false.
bool Function IsChild(Location akOther) native
- akOther: The other location to look at.
Returns if the akOther location is a child of the location on which this function is called.
; Is my house a child of the City location? if (CityProperty.IsChild(HouseProperty)) Debug.Trace("The house location is a child of the City location") endIf