So I noticed my objects were defined all wrong. Rewrote the script and still got nothin'. Here's my last version...
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
object oCrawler;
location lTarget;
if(GetLocalInt(OBJECT_SELF, "Is In Cave 1") == 1)
{
oTarget = GetWaypointByTag("CrawlToGoblinCave2");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
oCrawler=GetFirstFactionMember(oPC, FALSE);
while (GetIsObjectValid(oCrawler))
{
if((GetCreatureSize(oCrawler)==CREATURE_SIZE_SMALL) || GetCreatureSize(oCrawler)==CREATURE_SIZE_TINY) return;
{
AssignCommand(oCrawler, ClearAllActions());
AssignCommand(oCrawler, ActionJumpToLocation(lTarget));
oCrawler=GetNextFactionMember(oPC, FALSE);
return;
}
}
}
oTarget = GetWaypointByTag("CrawlToGoblinCave1");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
oCrawler=GetFirstFactionMember(oPC, FALSE);
while (GetIsObjectValid(oCrawler))
{
if((GetCreatureSize(oCrawler)==CREATURE_SIZE_SMALL) || GetCreatureSize(oCrawler)==CREATURE_SIZE_TINY) return;
{
AssignCommand(oCrawler, ClearAllActions());
AssignCommand(oCrawler, ActionJumpToLocation(lTarget));
oCrawler=GetNextFactionMember(oPC, FALSE);
return;
}
}
}
<><>