Quest One:
Alias Tab: npcAlias will have a specific reference to the NPC placed in the world.
Quest Two
Alias tab: myEmptyAlias - Empty Alias waiting to be filled with the same ref in quest One.
It might be something along the lines of this. Or it will hopefully give an idea of what I'm trying to do. It will be run from quest Two; a fragment to do with topics. (Extends TopicInfo Hidden)
;Properties
Actor Property NPCref Auto
ReferenceAlias Alias_myAlias Auto
NPCref = npcAlias.getActorRef [This needs to be looking in quest one, but not sure how]
myEmptyAlias.ForceRefTo(NPCref) - fill fill the alias with the ref in quest one.
so in code it looks like this
Spoiler
Scriptname QuestTWOFragment Extends TopicInfo HiddenFunction Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor Game.GetPlayer().RemoveItem(Gold001, gMyCost.value as int) Alias_myNPC.GetActorRef().SetFactionRank(AFaction, 1) Alias_myNPC.GetActorRef().SetFactionOwner(BFaction) RenameNPC.ForceRefTo(Alias_myNPC.GetActorRef());; New code thats not working yet; NPCref = npcAlias.GetActorRef() myEmptyAlias.ForceRefTo(NPCref);EndFunction;Actor Property NPCref AutoReferenceAlias Property myEmptyAlias AutoReferenceAlias Property RenameNPC AutoMiscObject Property Gold001 AutoFaction Property AFaction AutoFaction Property BFaction AutoGlobalVariable Property gMyCost AutoReferenceAlias Property Alias_myNPC Auto