Difference between revisions of "Script Function: Q5SM"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q5SM(<span style="color:#0000FF">obj</span> ship, <span style="color:#0000FF">int</span> Q...")
 
(No difference)

Latest revision as of 21:59, 11 October 2018

 function int Q5SM(obj ship, int Q5M5)
 {
   int Q4FX = getObjVar(ship, "myshipdir");
   return ((((Q4FX * 0x02) + Q5M5) % 0x08));
 }