Difference between revisions of "Script: Radiusdamage"

From Ultima Online: The Second Age
Jump to: navigation, search
 
Line 20: Line 20:
 
     <span style="color:#0000FF">if</span> ([[Engine Function:_isPlayer|<span style="color:#FF0000;font-weight:bold">isPlayer</span>]](Q61K))
 
     <span style="color:#0000FF">if</span> ([[Engine Function:_isPlayer|<span style="color:#FF0000;font-weight:bold">isPlayer</span>]](Q61K))
 
     {
 
     {
       <span style="color:#2B91AF">Q6AA</span>(Q61K); <span style="color:#D4922F">// This is not linked sins it is an empty function in this page and has no other references from anywhere.</span>
+
       <span style="color:#2B91AF">Q6AA</span>(Q61K); <span style="color:#008000">// This is not linked sins it is an empty function in this page and has no other references from anywhere.</span>
 
     }
 
     }
 
     ;
 
     ;

Latest revision as of 20:33, 12 October 2018

inherits sndfx;
function Q6AA();
trigger creation
{
  callback(this, 0x14, 0x95);
  return (0x01);
}
trigger callback(0x95)
{
  list Q6AB;
  getMobsInRange(Q6AB, getLocation(this), 0x0A);
  int x = numInList(Q6AB);
  while(x != 0x00)
  {
    x--;
    obj Q61K = Q6AB[x];
    if (isPlayer(Q61K))
    {
      Q6AA(Q61K); // This is not linked sins it is an empty function in this page and has no other references from anywhere.
    }
    ;
    ;
  }
  ;
  callback(this, 0x14, 0x95);
  return (0x00);
}