Difference between revisions of "Script: 7981"

From Ultima Online: The Second Age
Jump to: navigation, search
 
Line 11: Line 11:
 
   [[Engine Function:_attachScript|<span style="color:#FF0000;font-weight:bold">attachScript</span>]](this, <span style="color:#800000">"reactarm"</span>);
 
   [[Engine Function:_attachScript|<span style="color:#FF0000;font-weight:bold">attachScript</span>]](this, <span style="color:#800000">"reactarm"</span>);
 
   [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"lookAtText"</span>, <span style="color:#800000">"A Reactive Armor Scroll"</span>);
 
   [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"lookAtText"</span>, <span style="color:#800000">"A Reactive Armor Scroll"</span>);
   [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"isScroll"</span>, 0x00);0x00);
+
   [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"isScroll"</span>, 0x00);
 
   <span style="color:#0000FF">return</span> (0x00);
 
   <span style="color:#0000FF">return</span> (0x00);
 
  }
 
  }

Latest revision as of 14:22, 18 October 2018

inherits scrollbase;
trigger objectloaded
{
  Q41U(this);
  return (0x01);
}
trigger creation
{
  attachScript(this, "reactarm");
  setObjVar(this, "lookAtText", "A Reactive Armor Scroll");
  setObjVar(this, "isScroll", 0x00);
  return (0x00);
}
trigger callback(0x48)
{
  Q5QJ(this);
  return (0x00);
}