Script: Floortrigger1

From Ultima Online: The Second Age
Revision as of 21:53, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">trigger</span> enterrange(0x00) { <span style="color:#0000FF">loc</span> Q67W = 0x143...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits sndfx;
trigger enterrange(0x00)
{
  loc Q67W = 0x1430, 0x0257, 0x00;
  list Q5DQ;
  sfx(getLocation(this), 0x0122, 0x00);
  messageToRange(Q67W, 0x01, "wall_trap_disarm", Q5DQ);
  callback(this, 0x02, 0x01);
  setType(this, 0x1123);
  callback(this, 0x3C, 0x02);
  return (0x01);
}
trigger callback(0x01)
{
  setType(this, 0x1122);
  return (0x00);
}
trigger callback(0x02)
{
  loc Q67W = 0x1430, 0x0257, 0x00;
  list Q5DQ;
  messageToRange(Q67W, 0x01, "wall_trap_reload", Q5DQ);
  return (0x00);
}