Difference between revisions of "Script: Hinttest"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">inherits</span> [[[[hintupdate|<span style="color:#2B91AF">hintupdate</span>]]]]; <span style="color:#0000FF">trigger</span> creation { <spa...")
 
 
Line 1: Line 1:
  <span style="color:#0000FF">inherits</span> [[[[hintupdate|<span style="color:#2B91AF">hintupdate</span>]]]];
+
  <span style="color:#0000FF">inherits</span> [[Script:_hintupdate|<span style="color:#2B91AF">hintupdate</span>]];
  
 
  <span style="color:#0000FF">trigger</span> creation
 
  <span style="color:#0000FF">trigger</span> creation
Line 10: Line 10:
 
  <span style="color:#0000FF">trigger</span> callback(0x2A)
 
  <span style="color:#0000FF">trigger</span> callback(0x2A)
 
  {
 
  {
   [[hintupdate|<span style="color:#2B91AF">hintupdate</span>]](0x01, this);
+
   [[Script_Function:_hintupdate|<span style="color:#2B91AF">hintupdate</span>]](0x01, this);
 
   [[Engine Function:_callback|<span style="color:#FF0000;font-weight:bold">callback</span>]](this, 0x0384, 0x2A)return(0x01);
 
   [[Engine Function:_callback|<span style="color:#FF0000;font-weight:bold">callback</span>]](this, 0x0384, 0x2A)return(0x01);
 
  }
 
  }

Latest revision as of 05:45, 24 October 2018

inherits hintupdate;
trigger creation
{
  int first;
  first = random(0x01, 0x0384);
  callback(this, first, 0x2A)return(0x01);
}
trigger callback(0x2A)
{
  hintupdate(0x01, this);
  callback(this, 0x0384, 0x2A)return(0x01);
}