Background for Fallout 4
Member of the Location script
boolfunctionHasRefType(LocationRefTypeakRefType)Native

Description

Wiki Description

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

Documentation Comment

Returns if this location has the specified reference type


Caveats


Parameters

LocationRefTypeakRefType

CK Wiki Description

The LocationRefType to query for.


Examples

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

Auto-Generated Example

LocationRefType myLocationRefType__akRefType

bool returnedValue = myLocation__toCallFunctionOn.HasRefType(myLocationRefType__akRefType)

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.