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

17 lines
288 B
Plaintext

void main()
{
object oPC = GetLastKiller();
object oTarget;
object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("WP_CLOSETPORTAL");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "closetmonsterpor", lTarget);
DestroyObject(oSpawn, 300.0);
}