WizardryEE/Module/nss/spawnb_sc_dactiv.nss
Jaysyn904 71a604d04a Added NESS. Updated Level 10
Added NESS.  Updated Level 10.  Full compile.
2023-04-20 23:24:24 -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);
}