Difference between revisions of "Script: Dec4 stone face sw"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> use { <span style="color:#0000FF">loc</span> trapLocation = 0x1491,...") |
(No difference)
|
Latest revision as of 22:53, 5 October 2018
inherits globals;
trigger use { loc trapLocation = 0x1491, 0x02B3, 0x00; list Q5DQ; if (!hasObjVar(this, "working")) { setObjVar(this, "working", 0x01); messageToRange(trapLocation, 0x0B, "disarm", Q5DQ); setType(this, 0x1091); callback(this, 0x02, 0x24); } return (0x00); }
trigger callback(0x24) { if (hasObjVar(this, "working")) { removeObjVar(this, "working"); } if (getObjType(this) == 0x1091) { setType(this, 0x1092); } return (0x00); }