Script Function: Q62Y

From Ultima Online: The Second Age
Revision as of 21:57, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q62Y(<span style="color:#0000FF">obj</span> Q62O, <span style="color:#0000FF">int</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q62Y(obj Q62O, int Q4DW)
 {
   if ((Q4DW >= 0x08) && (Q4DW <= 0x0A))
   {
     if (hasObjVar(Q62O, "shipcommand"))
     {
       int Q5G5 = getObjVar(Q62O, "shipcommand");
       if (((Q5G5 <= 0x07) || (Q5G5 >= 0x0B)) && (Q5G5 != 0x1B) && (Q5G5 != 0x1C))
       {
         setObjVar(Q62O, "shipqueuedcommand", Q5G5);
       }
     }
   }
   int Q5FV = Q630(Q62O);
   setObjVar(Q62O, "shipcommand", Q4DW);
   if (Q4V5 == 0x00)
   {
     Q4V5 = 0x01;
     shortCallback(this, 0x02, 0x31);
   }
   return;
 }