Script: Mapdump

From Ultima Online: The Second Age
Revision as of 19:41, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">trigger</span> speech(<span style="color:#800000">"mapdump"</span>) { <span style="color:#0000FF">int</span> i = 0x00; <span style="color:#...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
trigger speech("mapdump")
{
  int i = 0x00;
  string Q5N7;
  string Q63B;
  loc Q5B8;
  while(0x01)
  {
    if (!getMapPoint(Q5B8, this, i))
    {
      break;
    }
    Q5N7 = "Nav point ";
    Q63B = (i + 0x01);
    concat(Q5N7, Q63B);
    concat(Q5N7, ": ");
    Q63B = getX(Q5B8);
    concat(Q5N7, Q63B);
    concat(Q5N7, " ");
    Q63B = getY(Q5B8);
    concat(Q5N7, Q63B);
    concat(Q5N7, " ");
    bark(this, Q5N7);
    i++;
  }
  return (0x00);
}