Background for Skyrim SE
Member of the ObjectReference script
boolfunctionHasRefType(LocationRefTypeakRefType)Native

Description

Wiki Description

Returns if this reference has the specified LocationRefType.

Documentation Comment

Returns if this reference has the specified location ref type


Caveats


Parameters

LocationRefTypeakRefType

CK Wiki Description

The LocationRefType to query for.


Examples

; Does the object have the doom ref type?
if (HappySwordProperty.HasRefType(DoomRefTypeProperty))
  Debug.Trace("The happy sword is a doom sword")
endIf

Auto-Generated Example

LocationRefType myLocationRefType__akRefType

bool returnedValue = myObjectReference__toCallFunctionOn.HasRefType(myLocationRefType__akRefType)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.