Mod:Creation Kit/HasRefType - Location

Member of: Mod:Creation Kit/Location Script

Returns if this location has any unreserved refs with the specified LocationRefType.

Syntax
bool Function HasRefType(LocationRefType akRefType) native

Parameters

 * akRefType: The LocationRefType to query for.

Return Value
Whether this location has any unreserved refs with the specified ref type or not.

Examples
if (MyHouseProperty.HasRefType(HouseRefTypeProperty)) Debug.Trace("My house has the 'house' reference type") endIf
 * Is this a house?