Difference between revisions of "Script Function: IsPet"

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> isPet(<span style="color:#0000FF">obj</span> this) { <span style="color:#0000FF">ret...")
 
 
Line 1: Line 1:
 
   <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> isPet(<span style="color:#0000FF">obj</span> this)
 
   <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> isPet(<span style="color:#0000FF">obj</span> this)
 
   {
 
   {
     <span style="color:#0000FF">return</span> (([[Engine Function:_hasObjVar|<span style="color:#FF0000;font-weight:bold">hasObjVar</span>]](this, <span style="color:#800000">"[[isPet|<span style="color:#2B91AF">isPet</span>]]"</span>)));
+
     <span style="color:#0000FF">return</span> (([[Engine Function:_hasObjVar|<span style="color:#FF0000;font-weight:bold">hasObjVar</span>]](this, <span style="color:#800000">"isPet"</span>)));
 
   }
 
   }

Latest revision as of 04:29, 12 October 2018

 function int isPet(obj this)
 {
   return ((hasObjVar(this, "isPet")));
 }