Script Function: Q4A7

From Ultima Online: The Second Age
Revision as of 15:20, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4A7(<span style="color:#0000FF">obj</span> Q68D, <span style="color:#0000FF">loc</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4A7(obj Q68D, loc Q5U8, loc dest)
 {
   if (isPlayer(Q68D))
   {
     if (Q4YX(Q5U8, dest))
     {
       if (isGoldAccount(Q68D))
       {
         return (0x01);
       }
       else
       {
         return (0x00);
       }
     }
     else
     {
       if (Q4YW(Q5U8, dest))
       {
         if (isRiding(Q68D))
         {
         }
       }
     }
     return (0x01);
   }
   if (isNPC(Q68D))
   {
     if (Q50C(Q68D))
     {
       if (Q4YW(Q5U8, dest))
       {
         return (0x00);
       }
       else
       {
         return (0x01);
       }
     }
     return (0x01);
   }
   return (0x01);
 }