GetLocRefTypes - ObjectReference
(Redirected from GetLocRefType - ObjectReference)
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