lee3310 Posted March 22, 2023 Share Posted March 22, 2023 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 More sharing options...
niston Posted March 23, 2023 Share Posted March 23, 2023 IIRC it doesnt and the order changes on every game load or something. Link to comment Share on other sites More sharing options...
lee3310 Posted March 23, 2023 Author Share Posted March 23, 2023 (edited) 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 March 23, 2023 by lee3310 Link to comment Share on other sites More sharing options...
Recommended Posts