Script Function: Q5I9

From Ultima Online: The Second Age
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);
 }