Difference between revisions of "GetLinkedRefChain - ObjectReference"

m
→‎Examples: Made a slight change to the example using a more efficient code structure
imported>Valie
 
imported>Docclox
m (→‎Examples: Made a slight change to the example using a more efficient code structure)
Line 34: Line 34:
; Enable the refs in a linked ref chain
; Enable the refs in a linked ref chain
ObjectReference[] LinkedRefs = GetLinkedRefChain()
ObjectReference[] LinkedRefs = GetLinkedRefChain()
int i = 0
int i = LinkedRefs.length
while (i < LinkedRefs.length)
while (i > 0)
i -= 1
LinkedRefs[i].enable()
LinkedRefs[i].enable()
i += 1
endwhile
endwhile


Anonymous user