Jump to content

script to move unique npc to new loaction


Recommended Posts

I want to move a unique NPC to a different location after the final dialogue scene and completion quest stage

 

the npcs name is zzzparentnpc

 

the alias is zzzparentnpcallias

 

is it also possible to for a script to kill zzzparentnpc once they get to the new location

 

the location that the npc will be moving to is a new exterior world space cell if that makes any difference.

 

thank you for reading

Link to comment
Share on other sites

There probably should be persistent destination marker provided in that new worldspace.

All doable, but what need exactly, step-by-step solution or approximation hints?

 

I guess it may be as simple as setting him linkedRef like DMP_Sandbox_2048 to new destination and releasing from higher level packages. i'm not very familiar with DefaultMasterPackage usage though, also success may depend on how Actor was tailored. May use MoveTo() to speed up traveling or not.

 

Killing may require active quest support still, but isn't hard to do at different grades of elaboration. Check out CorpseDismemberScript for example, also with minor adjustment to invert stage check it may be placed directly onto Actor, so that he's doomed once the final stage is done, regardless of quest being running. May be modified to OnLocationChange. Or simply can Kill from quest stage script immediately after MoveTo().

Edited by hereami
Link to comment
Share on other sites

thank you for the advice, I was able to fix the issue

 

I just gave the NPC a new simple travel package and set the conditions on the package so the NPC goes to the xmarker during the final quest stage.

 

as for killing the NPC, I set one the hostile NPCs to respawn, the NPC is doomed when it reaches the xmarker

Link to comment
Share on other sites

  • Recently Browsing   0 members

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