Initial commit
Initial commit [v9.7]
This commit is contained in:
33
_module/nss/cnv_tprt_gmsr_bd.nss
Normal file
33
_module/nss/cnv_tprt_gmsr_bd.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
oTarget = GetWaypointByTag("WP_SPn_GM_Se1");
|
||||
lTarget = GetLocation(oTarget);
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "graymousersas2", lTarget);
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
|
||||
|
||||
oTarget=GetFirstFactionMember(oPC, FALSE);
|
||||
|
||||
while (GetIsObjectValid(oTarget))
|
||||
{
|
||||
AssignCommand(oTarget, ClearAllActions());
|
||||
|
||||
AssignCommand(oTarget, ActionJumpToLocation(lTarget));
|
||||
oTarget=GetNextFactionMember(oPC, FALSE);
|
||||
}
|
||||
|
||||
oTarget = GetObjectByTag("Sheelba2b");
|
||||
DestroyObject(oTarget, 2.0);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user