Script Function: Q4Z8

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4Z8(obj this, obj Q61K)
 {
   if (hasObjVar(this, "guardList"))
   {
     list Q60F;
     getObjListVar(Q60F, this, "guardList");
     for(int i = 0x00; i < numInList(Q60F); i++)
     {
       obj Q53B = Q60F[i];
       if (Q53B == Q61K)
       {
         return (0x01);
       }
     }
   }
   return (0x00);
 }