Difference between revisions of "Script Function: Q558"

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> Q558(<span style="color:#0000FF">obj</span> Q487, <span style="color:#0000FF">obj</span> b...")
(No difference)

Revision as of 16:10, 10 October 2018

 function int Q558(obj Q487, obj boss, int Q54B, int Q5DC)
 {
   list myBoss = boss;
   setObjVar(Q487, "myBoss", myBoss);
   setObjVar(Q487, "myLoyalty", Q54B);
   if (Q5DC)
   {
     setObjVar(Q487, "isPet", 0x01);
   }
   makeBeelineFailPathfind(Q487, 0x01);
   disableBehaviors(Q487);
   attachScript(Q487, "pet");
   return (0x01);
 }