EnableLinkChain - ObjectReference

Revision as of 15:33, 21 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

This function enables all the linked refs, linked in a chain, from this reference.

Syntax

Function EnableLinkChain(Keyword apKeyword = None)

Parameters

  • apKeyword: Keyword to check ref link against (see GetLinkedRef.)
    • Default: None

Return Value

None.

Examples

; Enable every ref linked to startRef in a chain
startRef.EnableLinkChain()


; Enable every ref linked to startRef using the special keyword
startRef.EnableLinkChain(SpecialKeyword)

Notes

Do not use this on a link chain that is linked in a loop or it will cause an endless loop.

See Also