Script Function: Q59K

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q59K()
 {
   list Q57V;
   obj x;
   obj y;
   if (!hasObjVar(this, "myGuards"))
   {
     return (0x00);
   }
   getMobsInRange(Q57V, getLocation(this), 0x0A);
   for(int i = 0x00; i < numInList(Q57V); i++)
   {
     obj Q4FI = Q57V[i];
     if (isInObjVarListSet(this, "myGuards", Q4FI))
     {
       return (0x01);
     }
   }
   return (0x00);
 }