Script Function: Q42E

From Ultima Online: The Second Age
Revision as of 15:21, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">loc</span> Q42E(<span style="color:#0000FF">loc</span> where) { <span style="color:#0000FF">loc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function loc Q42E(loc where)
 {
   loc Q5HP;
   list Q5HN = 0x0FE6, 0x0FE7, 0x0FE8, 0x0FE9, 0x0FEA, 0x0FEB, 0x0FEC, 0x0FED, 0x0FEE;
   loc blah = where;
   if (objectsNearby(Q5HN, blah, 0x06, 0x0FEA))
   {
     Q5HP = blah;
     return (Q5HP);
   }
   list Q5HO = 0x120E, 0x120F, 0x1210, 0x1211, 0x1212, 0x1213, 0x1214, 0x1215, 0x1216;
   if (objectsNearby(Q5HO, blah, 0x06, 0x1216))
   {
     Q5HP = blah;
     return (Q5HP);
   }
   return (Q5HP);
 }