Script Function: Q62T

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> Q62T(<span style="color:#0000FF">obj</span> ship) { <span style="color:#0000FF">int...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q62T(obj ship)
 {
   int Q58G = getMultiType(ship);
   loc Q4OI;
   loc Q4OJ;
   int Q5NC = getMultiExtents(Q58G, Q4OI, Q4OJ);
   Q5ST = getX(Q4OJ) - getX(Q4OI) + 0x01;
   Q5SI = getY(Q4OJ) - getY(Q4OI) + 0x01;
   Q5SC = Q5ST;
   if (Q5SI > Q5SC)
   {
     Q5SC = Q5SI;
   }
   return;
 }