HasRefType - ObjectReference

Revision as of 16:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Returns if this reference has the specified LocationRefType.

SyntaxEdit

bool Function HasRefType(LocationRefType akRefType) native

ParametersEdit

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

See AlsoEdit