HasRefType - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Returns if this reference has the specified LocationRefType.
Syntax[edit | edit source]
bool Function HasRefType(LocationRefType akRefType) native
Parameters[edit | edit source]
- akRefType: The LocationRefType to query for.
Return Value[edit | edit source]
Whether this reference has the specified ref type or not.
Examples[edit | edit source]
; Does the object have the doom ref type?
if (HappySwordProperty.HasRefType(DoomRefTypeProperty))
Debug.Trace("The happy sword is a doom sword")
endIf