Difference between revisions of "Script Function: Q509"

From Ultima Online: The Second Age
Jump to: navigation, search
(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>...")
 
(No difference)

Latest revision as of 03:14, 8 October 2018

 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);
 }