Script Function: Q66F

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q66F()
 {
   list Q4A9;
   obj Q60R;
   clearList(Q5DN);
   getNPCsInRange(Q4A9, getLocation(this), 0x32);
   for(int i = 0x00; i < numInList(Q4A9); i++)
   {
     Q60R = Q4A9[i];
     if (!hasObjVar(Q60R, "isActor"))
     {
       if (isHuman(Q60R))
       {
         if (!isGuard(Q60R))
         {
           if (!hasScript(Q60R, "pet"))
           {
             appendToList(Q5DN, Q60R);
           }
         }
       }
     }
   }
   return ();
 }