Script Function: Q5I5

From Ultima Online: The Second Age
Jump to: navigation, search
 function string Q5I5(obj this)
 {
   list Q5JT = "city_bucden", "city_jhelom", "city_serphold", "city_nujelm", "city_trinsic", "city_skara", "city_ocllo", "city_magincia", "city_moonglow", "city_britain", "city_cove", "city_vesper", "city_minoc", "city_yew";
   string dest = Q5JT[random(0x00, numInList(Q5JT) - 0x01)];
   if (isInArea(dest, getLocation(this), 0x00))
   {
     dest = Q5I5(this);
   }
   return (dest);
 }