Script Function: Q45D

From Ultima Online: The Second Age
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 ();
 }