Script Function: Q5WB

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q5WB(loc Q5IM)
 {
   int Q4QI = 0x00;
   for(int Q4Z9 = 0x00; Q4Z9 < numInList(guardList); Q4Z9 = Q4Z9 + 0x01)
   {
     obj Q5FX;
     Q5FX = guardList[Q4Z9];
     loc Q62H = getLocation(Q5FX);
     if (Q62H == Q5IM)
     {
       Q4QI = 0x01;
       break;
     }
   }
   if (!Q4QI)
   {
     return;
   }
   Q5WC(Q5FX);
   deleteObject(Q5FX);
   return;
 }