Difference between revisions of "Script: L1chesttrap1"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">trigger</span> use { <span style="color:#0000FF">list</span> Q5DQ; [[[[message|<span style="color:#FF0000;font-weight:bold">message</span>]...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
  {
 
  {
 
   <span style="color:#0000FF">list</span> Q5DQ;
 
   <span style="color:#0000FF">list</span> Q5DQ;
   [[[[Engine Function:_message|<span style="color:#FF0000;font-weight:bold">message</span>]]ToRange|<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), 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);
}