Initial commit
Initial commit [v9.7]
This commit is contained in:
60
_module/nss/cnv_dstry_gn_srt.nss
Normal file
60
_module/nss/cnv_dstry_gn_srt.nss
Normal file
@@ -0,0 +1,60 @@
|
||||
#include "nw_i0_generic"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
object oActor;
|
||||
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Have "genrl" perform a sequence of actions.
|
||||
oActor = GetObjectByTag("GeneralSkith2");
|
||||
AssignCommand(oActor, ActionMoveToObject(GetNearestObjectByTag("WP_DngrM1")));
|
||||
|
||||
// Destroy an object (not fully effective until this script ends).
|
||||
DelayCommand(3.0, DestroyObject(GetObjectByTag("GeneralSkith2")));
|
||||
|
||||
// Spawn some critters.
|
||||
|
||||
oTarget = GetWaypointByTag("WP_SPn_DthLr1");
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwarrior2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ratwlb2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
oTarget = GetObjectByTag("wlb9");
|
||||
|
||||
DestroyObject(oTarget, 4.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user