Script Function: Q5WB

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