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

17 lines
284 B
Plaintext

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