Script Function: Q4LZ

From Ultima Online: The Second Age
Revision as of 15:34, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4LZ(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">obj</span> t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4LZ(obj this, obj target)
 {
   list memoryRecent;
   if (hasObjVar(this, "memoryRecent"))
   {
     getObjListVar(memoryRecent, this, "memoryRecent");
   }
   else
   {
     return (0x00);
   }
   int Q4QI = 0x00;
   obj Q609;
   if (isInList(memoryRecent, target))
   {
     Q4QI = 0x01;
     if (0x00)
     {
       debugMessage("Found target in recent memory");
     }
   }
   return (Q4QI);
 }