Difference between revisions of "Script: Sha wall face trigger"

From Ultima Online: The Second Age
Jump to: navigation, search
Line 2: Line 2:
 
  {
 
  {
 
   <span style="color:#0000FF">list</span> Q5DQ;
 
   <span style="color:#0000FF">list</span> Q5DQ;
   [[messageToRange|<span style="color:#FF0000;font-weight:bold">[[Engine Function:_message|<span style="color:#FF0000;font-weight:bold">message</span>]]ToRange</span>]]([[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this), 0x0A, <span style="color:#800000">"fireInTheHole"</span>, Q5DQ);
+
   [[messageToRange|<span style="color:#FF0000;font-weight:bold">messageToRange</span>]]([[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this), 0x0A, <span style="color:#800000">"fireInTheHole"</span>, Q5DQ);
 
   <span style="color:#0000FF">return</span> (0x01);
 
   <span style="color:#0000FF">return</span> (0x01);
 
  }
 
  }

Revision as of 07:13, 14 October 2018

trigger use
{
  list Q5DQ;
  messageToRange(getLocation(this), 0x0A, "fireInTheHole", Q5DQ);
  return (0x01);
}