HasRefType - ObjectReference
Revision as of 16:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
Member of: ObjectReference Script
Returns if this reference has the specified LocationRefType.
SyntaxEdit
bool Function HasRefType(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.HasRefType(DoomRefTypeProperty))
Debug.Trace("The happy sword is a doom sword")
endIf