Script Function: Q5GF

From Ultima Online: The Second Age
Revision as of 05:15, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5GF() { <span style="color:#0000FF">list</span> portcullis; Q5JJ = 0x33, 0x46,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q5GF()
 {
   list portcullis;
   Q5JJ = 0x33, 0x46, 0x00;
   Q5JK = 0x33, 0x45, 0x00;
   getObjectsAt(portcullis, Q5JJ);
   for(int i = 0x00; i < numInList(portcullis); i++)
   {
     int Q61T = getObjType(portcullis[i]);
     if (Q61T == 0x06F6)
     {
       deleteObject(portcullis[i]);
     }
   }
   clearList(portcullis);
   getObjectsAt(portcullis, Q5JK);
   for(i = 0x00; i < numInList(portcullis); i++)
   {
     Q61T = getObjType(portcullis[i]);
     if (Q61T == 0x06F6)
     {
       deleteObject(portcullis[i]);
     }
   }
   callback(this, 0x012C, 0x1B);
   return ();
 }