Script Function: Q4C1

From Ultima Online: The Second Age
Revision as of 04:06, 12 October 2018 by Grimoric (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 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);
 }