Jump to content

GetActorsLinkedToMe()


lee3310

Recommended Posts

it's a long shot but does this function return a sorted array per chance ? i mean:

ak1.SetLinkedRef(ak0, KW)
ak2.SetLinkedRef(ak0, KW)
ak3.SetLinkedRef(ak0, KW)

Actor[] akAll = ak0.GetActorsLinkedToMe(KW)

akAll[0] == ak1
akAll[1] == ak2
akAll[2] == ak3
Link to comment
Share on other sites

IIRC it doesnt and the order changes on every game load or something.

 

Thanks niston, i see that it was a wishful thinking. I was trying to get the last actor linked to a ref and i thought maybe it was akAll[akAll.Length] but i will use a new KW with SetLinkedRef / GetLinkedRef to overwrite the old reference and always get the last one.

Edited by lee3310
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...