Difference between revisions of "Script: Gate"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">inherits</span> spelskil; <span style="color:#0000FF">trigger</span> enterrange(0x00) { <span style="color:#0000FF">int</span> Q5ZL;...")
 
 
Line 4: Line 4:
 
  {
 
  {
 
   <span style="color:#0000FF">int</span> Q5ZL;
 
   <span style="color:#0000FF">int</span> Q5ZL;
   Q5ZL = [[teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](target, [[Engine Function:_getObjVar|<span style="color:#FF0000;font-weight:bold">getObjVar</span>]](this, <span style="color:#800000">"destination"</span>));
+
   Q5ZL = [[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](target, [[Engine Function:_getObjVar|<span style="color:#FF0000;font-weight:bold">getObjVar</span>]](this, <span style="color:#800000">"destination"</span>));
 
   <span style="color:#0000FF">return</span> (0x01);
 
   <span style="color:#0000FF">return</span> (0x01);
 
  }
 
  }

Latest revision as of 08:36, 19 October 2018

inherits spelskil;
trigger enterrange(0x00)
{
  int Q5ZL;
  Q5ZL = teleport(target, getObjVar(this, "destination"));
  return (0x01);
}