coreyd86 Posted July 26, 2018 Share Posted July 26, 2018 I'm really lost on this one... So I have script that is attached to quest A. In that script it has a refrencealias[] property that updates as the script runs. Quest B I have my script attached. I want to get the current followers that are in the referencealias[] property on the other script. How would I do this? I've tried so far setting a variable of the First scripts type and then cast it as itself to get the property but when I try to use it it appears to be an empty array. Does my script have to be attached to same object in order to view those properties? Please help this is driving me crazy. Link to comment Share on other sites More sharing options...
akiras404 Posted July 26, 2018 Share Posted July 26, 2018 ;QuestAScript ReferenceAlias[] Property aliases Auto Const ReferenceAlias[] Function GetRefAliases() return aliases endFunction ;QuestBScript QuestAScript Property QuestA Auto Const ; QuestA.GetRefAliases() Not tested, but how about this? Link to comment Share on other sites More sharing options...
SKKmods Posted July 26, 2018 Share Posted July 26, 2018 Property pointer is best for an external script if you just want to get the reference. If you want to temporarily attach stuff to it (faction, keyword, package ... ) in quest B create an alias with fill type "External Alias Ref" Linked QuestA AliasName This is traditionally how to get and attach stuff to the current player companion (Followers:Companion) Link to comment Share on other sites More sharing options...
Recommended Posts