Difference between revisions of "Script: Despise teleporter four"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">trigger</span> creation { <span style="color:#FF0000;font-weight:bold">setType</span>(this, 0x375A); <span style="color:#0000FF...")
 
 
Line 8: Line 8:
 
  {
 
  {
 
   <span style="color:#0000FF">loc</span> Q648 = 0x16C3, 0x0251, 0x00;
 
   <span style="color:#0000FF">loc</span> Q648 = 0x16C3, 0x0251, 0x00;
   <span style="color:#0000FF">if</span> (![[teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](target, Q648))
+
   <span style="color:#0000FF">if</span> (![[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](target, Q648))
 
   {
 
   {
 
     <span style="color:#0000FF">return</span> (0x01);
 
     <span style="color:#0000FF">return</span> (0x01);

Latest revision as of 08:39, 19 October 2018

trigger creation
{
  setType(this, 0x375A);
  return (0x00);
}
trigger enterrange(0x01)
{
  loc Q648 = 0x16C3, 0x0251, 0x00;
  if (!teleport(target, Q648))
  {
    return (0x01);
  }
  return (0x00);
}