Script Function: Q5SQ

From Ultima Online: The Second Age
Revision as of 21:59, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q5SQ(<span style="color:#0000FF">obj</span> Q5AK, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q5SQ(obj Q5AK, int Q4IE, int Q4AG)
 {
   string Q5N7;
   int myshiptype = getObjVar(Q5AK, "myshiptype");
   int Q5CT = 0x00 + (myshiptype * 0x04) + (Q4IE * 0x01);
   int Q5NC = recycleMultiCheckRotate(Q5AK, Q5CT, Q43W, Q4AG);
   if (Q5NC > 0x00)
   {
     setObjVar(Q5AK, "myshipdir", Q4IE);
   }
   return (Q5NC);
 }