Difference between revisions of "GetLinkedRefChain - ObjectReference"
Jump to navigation
Jump to search
m
→Examples: Made a slight change to the example using a more efficient code structure
imported>Valie m (→Examples) |
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 = | int i = LinkedRefs.length | ||
while (i | while (i > 0) | ||
i -= 1 | |||
LinkedRefs[i].enable() | LinkedRefs[i].enable() | ||
endwhile | endwhile | ||