Lankhmar_PRC8/_module/nss/cnv_tport_rodolo.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

43 lines
713 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oTarget;
location lTarget;
oTarget = GetObjectByTag("Alek");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Alek1")));
oTarget = GetObjectByTag("Alek");
int nInt;
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Alek");
DestroyObject(oTarget, 6.0);
oTarget = GetWaypointByTag("WP_Rodolon_01");
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);
}
}