Script Function: Q59K

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