Script Function: Q45D

From Ultima Online: The Second Age
Revision as of 15:36, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q45D(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">obj</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q45D(obj this, obj target)
 {
   list memoryRecent;
   if (hasObjVar(this, "memoryRecent"))
   {
     getObjListVar(memoryRecent, this, "memoryRecent");
   }
   removeSpecificItem(memoryRecent, target);
   appendToList(memoryRecent, target);
   if (0x00)
   {
     bark(this, "I am remembering ");
     bark(this, getName(target));
   }
   if (0x00)
   {
     debugMessage("Recognizing someone from a distance.");
   }
   if (numInList(memoryRecent) > 0x1E)
   {
     removeItem(memoryRecent, 0x00);
   }
   setObjVar(this, "memoryRecent", memoryRecent);
   return ();
 }