Script: Dest tele one

From Ultima Online: The Second Age
Revision as of 23:45, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">trigger</span> enterrange(0x02) { <span style="color:#0000FF">loc</span> toLocation = 0x1417, 0x0322, 0x03; <span style="color:#0000FF">if<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
trigger enterrange(0x02)
{
  loc toLocation = 0x1417, 0x0322, 0x03;
  if (getY(getLocation(target)) > getY(getLocation(this)))
  {
    return (0x01);
  }
  if (!teleport(target, toLocation))
  {
    return (0x00);
  }
  return (0x01);
}