Difference between revisions of "Script: Cov1 gas trap"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> creation { attachScript|<span style="color:#FF0000;font-weight:bol...") |
(No difference)
|
Latest revision as of 23:45, 5 October 2018
inherits globals;
trigger creation { attachScript(this, "trap_gas_trap"); return (0x00); }
trigger message("cov_disarm") { if (hasScript(this, "trap_gas_trap")) { detachScript(this, "trap_gas_trap"); } return (0x00); }
trigger message("cov_reload") { if (!hasScript(this, "trap_gas_trap")) { attachScript(this, "trap_gas_trap"); } return (0x00); }