Mod:Creation Kit/HasLocRefType - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Returns if this reference has the specified LocationRefType.

Syntax
bool Function HasLocRefType(LocationRefType akRefType) native

Parameters

 * akRefType: The LocationRefType to query for.

Return Value
Whether this reference has the specified ref type or not.

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