Difference between revisions of "Script: Trap tele gen er one"

From Ultima Online: The Second Age
Jump to: navigation, search
(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...")
(No difference)

Revision as of 08:07, 5 October 2018

trigger enterrange(0x01)
{
  loc Q648;
  if (hasObjVar(this, "toLocation"))
  {
    Q648 = getObjVar(this, "toLocation")
    );
    if (!teleport(target, Q648))
    {
      return (0x01);
    }
    return (0x00);
  }
  return (0x01);
}