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

17 lines
292 B
Plaintext

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