Background for Fallout 4
Member of the Location script
boolfunctionIsChild(LocationakOther)Native

Description

Wiki Description

Returns true if the other location is a child of this one. If they are the same location, the function returns false.

Documentation Comment

Returns whether the other location is a child of this one


Caveats


Parameters

LocationakOther

CK Wiki Description

The other location to look at.


Examples

; 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

Auto-Generated Example

Location myLocation__akOther

bool returnedValue = myLocation__toCallFunctionOn.IsChild(myLocation__akOther)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.