HasLocRefType - ObjectReference
Revision as of 11:07, 29 January 2015 by imported>Iceburg333 (→See Also)
Member of: ObjectReference Script
Returns if this reference has the specified LocationRefType.
SyntaxEdit
bool Function HasLocRefType(LocationRefType akRefType) native
ParametersEdit
- akRefType: The LocationRefType to query for.
Return ValueEdit
Whether this reference has the specified ref type or not.
ExamplesEdit
; Does the object have the doom ref type?
if (HappySwordProperty.HasLocRefType(DoomRefTypeProperty))
Debug.Trace("The happy sword is a doom sword")
endIf