GetLocRefTypes - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Returns array of the LocationRefTypes for this object.
Syntax[edit | edit source]
LocationRefType[] Function GetLocRefTypes() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
Array of LocationRefTypes this ref is assigned for its location.
Examples[edit | edit source]
LocationRefType[] refTypes = MyObject.GetLocRefTypes()
if refTypes.Find(TargetRefType) >= 0
Debug.Trace("My object has the target ref type")
endIf