Difference between revisions of "Script: L1chesttrap1"

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">ToRange</span>]]([[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this), 0x03, <span style="color:#800000">"trapCheck"</span>, Q5DQ);
+
   [[Engine Function:_messageToRange|<span style="color:#FF0000;font-weight:bold">messageToRange</span>]]([[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this), 0x03, <span style="color:#800000">"trapCheck"</span>, Q5DQ);
 
   <span style="color:#0000FF">return</span> (0x01);
 
   <span style="color:#0000FF">return</span> (0x01);
 
  }
 
  }

Latest revision as of 20:10, 5 October 2018

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