Script Function: Q5SM

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> Q5SM(<span style="color:#0000FF">obj</span> ship, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q5SM(obj ship, int Q5M5)
 {
   int Q4FX = getObjVar(ship, "myshipdir");
   return ((((Q4FX * 0x02) + Q5M5) % 0x08));
 }