Difference between revisions of "Script: Disease"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> creation { callback|<span style="color:#FF0000;font-weight:bold">c...") |
(No difference)
|
Latest revision as of 22:42, 5 October 2018
inherits globals;
trigger creation { callback(this, 0x0E10, 0x5B); return (0x01); }
trigger callback(0x5B) { list Q5J1; getPlayersInRange(Q5J1, getLocation(this), 0x0A); if (numInList(Q5J1) > 0x00) { callback(this, 0x012C, 0x5B); return (0x00); } deleteObject(this); return (0x01); }
trigger gotattacked { callback(this, 0x0E10, 0x5B); return (0x01); }