IsChild - Location

From the CreationKit Wiki
Revision as of 02:51, 7 March 2016 by imported>Terra Nova (Undo revision 45566 by Terra Nova2 (talk))
Jump to navigation Jump to search

Member of: Location Script

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

Syntax

bool Function IsChild(Location akOther) native

Parameters

  • akOther: The other location to look at.

Return Value

Returns if the other location is a child of this one.

Examples

; Is my house a child of the Batooine location?
if (BatooineProperty.IsChild(MyHouseProperty))
  Debug.Trace("My house is a child of the Batooine location")
endIf

See Also