Script Function: Q5AA

From Ultima Online: The Second Age
Revision as of 07:44, 19 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q5AA(obj corpse)
 {
   list Q4E4;
   getContents(Q4E4, corpse);
   int num = numInList(Q4E4);
   for(int i = 0x00; i < num; i++)
   {
     obj Q61K = Q4E4[i];
     if (isHair(Q61K))
     {
       deleteObject(Q61K);
     }
     else
     {
       int Q5NC = teleport(Q61K, getLocation(corpse));
     }
   }
   deleteObject(corpse);
   return ();
 }