Rune_PRC8/_module/nss/spawnb_sc_dactiv.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

18 lines
462 B
Plaintext

//
// Spawn Banner
// Deactivate Spawn
//
#include "spawn_functions"
void main()
{
object oPC = GetPCSpeaker();
object oSpawn = GetLocalObject(OBJECT_SELF, "ParentSpawn");
NESS_DeactivateSpawn(oSpawn);
DestroyObject(OBJECT_SELF);
object oBanner = CreateObject(OBJECT_TYPE_PLACEABLE, "spawn_ban_d",
GetLocation(oSpawn));
SetLocalObject(oBanner, "ParentSpawn", oSpawn);
FloatingTextStringOnCreature("Spawn Deactivated", oPC);
}