Difference between revisions of "Script: Dramaticentrance"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">member</span> <span style="color:#0000FF">obj</span> Q62D; <span style="color:#0000FF">...")
 
 
Line 15: Line 15:
 
  {
 
  {
 
   [[Engine Function:_setInvisible|<span style="color:#FF0000;font-weight:bold">setInvisible</span>]](Q62D, 0x00);
 
   [[Engine Function:_setInvisible|<span style="color:#FF0000;font-weight:bold">setInvisible</span>]](Q62D, 0x00);
   <span style="color:#0000FF">int</span> Q4Q1 = [[teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q62D, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](Q62D));
+
   <span style="color:#0000FF">int</span> Q4Q1 = [[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q62D, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](Q62D));
 
   <span style="color:#0000FF">return</span> (0x00);
 
   <span style="color:#0000FF">return</span> (0x00);
 
  }
 
  }

Latest revision as of 07:38, 19 October 2018

inherits sndfx;
member obj Q62D;
trigger use
{
  doLocAnimation(getLocation(user), 0x3709, 0x0A, 0x1E, 0x00, 0x00);
  sfx(getLocation(user), 0x54, 0x05);
  shortcallback(this, 0x04, 0x41);
  Q62D = user;
  return (0x00);
}
trigger callback(0x41)
{
  setInvisible(Q62D, 0x00);
  int Q4Q1 = teleport(Q62D, getLocation(Q62D));
  return (0x00);
}