Script Function: Q558

From Ultima Online: The Second Age
Revision as of 00:45, 21 October 2018 by Grimoric (talk | contribs)
(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);
 }