Script Function: Q458

From Ultima Online: The Second Age
Revision as of 03:05, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q458(<span style="color:#0000FF">obj</span> pet, <span style="color:#0000FF">obj</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q458(obj pet, obj Q5CJ)
 {
   list myBoss;
   if (!hasObjListVar(pet, "myBoss"))
   {
     setObjVar(pet, "myBoss", myBoss);
   }
   getObjListVar(myBoss, pet, "myBoss");
   if (!isInList(myBoss, Q5CJ))
   {
     appendToList(myBoss, Q5CJ);
   }
   setObjVar(pet, "myBoss", myBoss);
   return ();
 }