Initial commit
Initial commit [v9.7]
This commit is contained in:
38
_module/nss/ent_spn_nrss.nss
Normal file
38
_module/nss/ent_spn_nrss.nss
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
#include "nw_i0_2q4luskan"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
|
||||
// Get the creature who triggered this event.
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
// Only fire for (real) PCs.
|
||||
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
|
||||
return;
|
||||
|
||||
// Only fire once.
|
||||
if ( GetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF)) )
|
||||
return;
|
||||
SetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
// Spawn some critters.
|
||||
|
||||
oTarget = GetWaypointByTag("WP_SPn_SMngls");
|
||||
|
||||
DelayCommand(2.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "seamingol", GetLocation(oTarget)));
|
||||
|
||||
DelayCommand(2.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "seamingol", GetLocation(oTarget)));
|
||||
|
||||
DelayCommand(2.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "seamingol", GetLocation(oTarget)));
|
||||
|
||||
DelayCommand(2.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "seamingol", GetLocation(oTarget)));
|
||||
|
||||
DelayCommand(2.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "seamingol", GetLocation(oTarget)));
|
||||
|
||||
DelayCommand(1.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "noriss1", GetLocation(oPC)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user