Jump to content

Change alias reference based on Boolean condition


ZofaSoldier

Recommended Posts

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!

                                  

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use