Script Function: Q558

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