Script Function: Q509

From Ultima Online: The Second Age
Revision as of 03:14, 8 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q509(<span style="color:#0000FF">loc</span> where, <span style="color:#0000FF">int</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q509(loc where, int range)
 {
   list Q5FJ;
   getObjectsInRange(Q5FJ, where, range);
   int num = numInList(Q5FJ);
   for(int i = 0x00; i < num; i++)
   {
     obj it = Q5FJ[i];
     if (Q508(it))
     {
       return (0x01);
     }
   }
   return (0x00);
 }