Difference between revisions of "Script Function: Q4C1"

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> Q4C1(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">string</span...")
 
 
Line 5: Line 5:
 
       <span style="color:#0000FF">return</span> (0x00);
 
       <span style="color:#0000FF">return</span> (0x00);
 
     }
 
     }
     <span style="color:#0000FF">if</span> ([[isPet|<span style="color:#2B91AF">isPet</span>]](this))
+
     <span style="color:#0000FF">if</span> ([[Script_Function:_isPet|<span style="color:#2B91AF">isPet</span>]](this))
 
     {
 
     {
 
       <span style="color:#0000FF">return</span> (0x00);
 
       <span style="color:#0000FF">return</span> (0x00);

Latest revision as of 01:49, 21 October 2018

 function int Q4C1(obj this, string Q698, obj speaker)
 {
   if (Q698 != "report")
   {
     return (0x00);
   }
   if (isPet(this))
   {
     return (0x00);
   }
   callBack(this, 0x01, 0x1A);
   bark(this, "I currently accept orders from " + Q4RF() + ".");
   bark(this, "I am " + Q4S4() + " about my job.");
   if (hasObjVar(this, "petWhoFollow"))
   {
     obj Q609 = getObjVar(this, "petWhoFollow");
     bark(this, "I am following " + getName(Q609) + ".");
   }
   return (0x01);
 }