Script Function: Q4BU

From Ultima Online: The Second Age
Revision as of 03:07, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4BU(<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 Q4BU(obj this, string Q698, obj speaker)
 {
   if (Q698 != "friend")
   {
     return (0x00);
   }
   if (0x00)
   {
     bark(this, "Got order to befriend.");
   }
   setObjVar(this, "petFriend", 0x01);
   if (!isPet(this))
   {
     bark(this, "I shall obey this person's orders as if they were your own.");
   }
   else
   {
     systemMessage(speaker, "Click on the player whom you wish to make a co-owner.");
   }
   targetObj(speaker, this);
   return (0x01);
 }