Jump to content

Death spawn scripting?


doctorzero0

Recommended Posts

make your first NPC (the one that will die) and place him where you want him.

 

make your second NPC and place him where you want him to spawn. on his REF, make him initially disabled.

 

create a script for your first NPC and instead of beginning on gamemode, use on death. then make the script enable your second NPC.

Link to comment
Share on other sites

Well an more efficient way of doing that would be to make a xmarker that is always enabled, and instead of making the npc enabled simply make a script begin ondeath like this

Scn deathscript

Begin ondeath
XmarkerREF.placeatme MyNpc
End

 

This script would be put on the npc that will die.

Edited by WastedTimeYT
Link to comment
Share on other sites

  • Recently Browsing   0 members

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