HasLocRefType - ObjectReference

Revision as of 11:07, 29 January 2015 by imported>Iceburg333 (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Returns if this reference has the specified LocationRefType.

SyntaxEdit

bool Function HasLocRefType(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.HasLocRefType(DoomRefTypeProperty))
  Debug.Trace("The happy sword is a doom sword")
endIf

See AlsoEdit