Installed NESS 4.1.9
Installed NESS 4.1.9. Tweaked main city. Full compile.
This commit is contained in:
17
_module/nss/spawnb_sc_activ.nss
Normal file
17
_module/nss/spawnb_sc_activ.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// 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);
|
||||
}
|
Reference in New Issue
Block a user