Difference between revisions of "Script: Trap mushroom nd"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">trigger</span> enterrange(0x02) { <span style="color:#0000FF">if</span> (<span style="color:#FF0000;font-weight:bold">isDead</span>...") |
(No difference)
|
Latest revision as of 08:08, 5 October 2018
trigger enterrange(0x02) { if (isDead(target)) { return (0x01); } if (!hasObjVar(this, "working")) { setObjVar(this, "working", 0x01); callback(this, 0x02, 0x01); doLocAnimation(getLocation(this), 0x1126, 0x02, 0x05, 0x00, 0x00); } return (0x01); }
trigger callback(0x01) { if (hasObjVar(this, "working")) { removeObjVar(this, "working"); } return (0x00); }