Script: Trap saw test

From Ultima Online: The Second Age
Revision as of 08:08, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">trigger</span> enterrange(0x00) { <span style="color:#0000FF">if</span> (<span style="color:#FF0000;font-weight:bold">isDead</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
trigger enterrange(0x00)
{
  if (isDead(target))
  {
    return (0x01);
  }
  if (!hasObjVar(this, "disarmed"))
  {
    doLocAnimation(getLocation(this), 0x11AD, 0x02, 0x10, 0x00, 0x00);
  }
  return (0x01);
}