Script Function: Q5I9

From Ultima Online: The Second Age
Revision as of 04:26, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">loc</span> Q5I9(<span style="color:#0000FF">obj</span> Q68S) { <span style="color:#0000FF">loc<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function loc Q5I9(obj Q68S)
 {
   loc Q4G3 = getLocation(Q68S);
   loc Q4BA = Q4G3;
   int find = findGoodSpotNearMin(Q4BA, 0x01, 0x01, 0x10, 0x01);
   if ((!find) || (!Q4ZZ(Q68S, Q4BA)) || (!canSeeLoc(Q68S, Q4BA)))
   {
     Q4BA = (0x00 - 0x01), (0x00 - 0x01), (0x00 - 0x01);
   }
   return (Q4BA);
 }