Script: Trap tele gen er one

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