Script Function: Q5I5

From Ultima Online: The Second Age
Revision as of 16:52, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q5I5(<span style="color:#0000FF">obj</span> this) { <span style="color:#0000FF">l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
 }