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

18 lines
293 B
Plaintext

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