Difference between revisions of "Script Function: IsOwnedPet"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> isOwnedPet(<span style="color:#0000FF">obj</span> it) { <span style="color:#0000FF">...")
 
(No difference)

Latest revision as of 03:28, 12 October 2018

 function int isOwnedPet(obj it)
 {
   if (hasObjListVar(this, "myBoss"))
   {
     list Q4TN;
     getObjListVar(Q4TN, this, "myBoss");
     if (numInList(Q4TN) > 0x00)
     {
       return (0x01);
     }
   }
   return (0x00);
 }