RoT2_PRC8/_module/nss/darth_death.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

20 lines
411 B
Plaintext

void main()
{
ExecuteScript("nw_c2_default7", OBJECT_SELF);
ExecuteScript("tab_xpscript",OBJECT_SELF);
object oPC = GetLastKiller();
object oTarget;
object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("WP_DARTHPORTAL");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "darthportal", lTarget);
DestroyObject(oSpawn, 300.0);
}