Script Function: Q4C5

From Ultima Online: The Second Age
Revision as of 00:48, 21 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4C5(obj this, string Q698, obj speaker)
 {
   if (Q698 != "transfer")
   {
     return (0x00);
   }
   setObjVar(this, "petTransfer", 0x01);
   if (!isPet(this))
   {
     bark(this, "Whom do you wish me to work for?");
   }
   else
   {
     systemMessage(speaker, "Click on the person to transfer ownership to.");
   }
   targetObj(speaker, this);
   return (0x01);
 }