39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
|
|
||
|
#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)));
|
||
|
}
|
||
|
|