GetLocRefTypes - ObjectReference

Revision as of 13:23, 30 October 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Returns array of the LocationRefTypes for this object.

SyntaxEdit

LocationRefType[] Function GetLocRefTypes() native

ParametersEdit

None.

Return ValueEdit

Array of LocationRefTypes this ref is assigned for its location.

ExamplesEdit

LocationRefType[] refTypes = MyObject.GetLocRefTypes()
if refTypes.Find(TargetRefType) >= 0
  Debug.Trace("My object has the target ref type")
endIf

See AlsoEdit