Difference between revisions of "Script: Dec1 ft three"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">trigger</span> creation { setType|<span style="color:#FF0000;font-weight:bold">setT...") |
(No difference)
|
Latest revision as of 22:57, 5 October 2018
inherits sndfx;
trigger creation { setType(this, 0x1122); return (0x00); }
trigger enterrange(0x00) { loc trapLocation = 0x1430, 0x0248, 0x00; list Q5DQ; sfx(getLocation(this), 0x0122, 0x00); messageToRange(trapLocation, 0x01, "wall_trap_two_disarm", Q5DQ); callback(this, 0x02, 0x23); setType(this, 0x1123); callback(this, 0x1E, 0x24); return (0x01); }
trigger callback(0x23) { setType(this, 0x1122); return (0x00); }
trigger callback(0x24) { loc trapLocation = 0x1430, 0x0248, 0x00; list Q5DQ; messageToRange(trapLocation, 0x01, "wall_trap_two_reload", Q5DQ); return (0x00); }