Script Function: Q66F

From Ultima Online: The Second Age
Revision as of 23:27, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q66F() { <span style="color:#0000FF">list</span> Q4A9; <span style="color:#0000...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ();
 }