Difference between revisions of "Script: Playertool"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> creation { overloadWeight|<span style="color:#FF0000;font-weight:b...") |
(No difference)
|
Latest revision as of 16:46, 5 October 2018
inherits globals;
trigger creation { overloadWeight(this, 0x5A); callback(this, 0x1388, 0x4C); return (0x01); }
trigger callback(0x4C) { list Q5J1; getPlayersInRange(Q5J1, getLocation(this), 0x0F); if (numInList(Q5J1) > 0x00) { callback(this, 0x1388, 0x4C); return (0x00); } deleteObject(this); return (0x01); }
trigger enterrange(0x05) { if (!isPlayer(target)) { return (0x01); } callback(this, 0x1388, 0x4C); return (0x01); }