Script: Trap tele gen er one

From Ultima Online: The Second Age
Revision as of 07:52, 19 October 2018 by Grimoric (talk | contribs)
(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);
}