NWNDS/nwnds_module/spawnb_sc_activ.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

18 lines
450 B
Plaintext

//
// Spawn Banner
// Activate Spawn
//
#include "spawn_functions"
void main()
{
object oPC = GetPCSpeaker();
object oSpawn = GetLocalObject(OBJECT_SELF, "ParentSpawn");
NESS_ActivateSpawn(oSpawn);
DestroyObject(OBJECT_SELF);
object oBanner = CreateObject(OBJECT_TYPE_PLACEABLE, "spawn_ban_a", GetLocation(oSpawn));
SetLocalObject(oBanner, "ParentSpawn", oSpawn);
FloatingTextStringOnCreature("Spawn Activated", oPC);
}