ZofaSoldier Posted February 28, 2016 Posted February 28, 2016 I need to spawn a duplicate of an npc if the original is dead and change the quest reference to point to this new npc. How can I change the specific reference of an alias via a papyrus scipt? If npc1 is dead, then change alias Merchant to npc2 (duplicate of npc1) and activate it. if npc1.GetDead==1 then "change alias to point to npc2" Alias_Merchant.GetReference().Enable() //spawn inactive npc Thanks for any tips!
Guest Posted February 28, 2016 Posted February 28, 2016 if npc1.GetDead==1 then "change alias to point to npc2" Alias_Merchant.forceReferenceTo(npc2) endIf
Recommended Posts
Archived
This topic is now archived and is closed to further replies.