Difference between revisions of "Script: Dyetub god"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">trigger</span> use { systemMessage|<span style="color:#FF0000;font-weight:bold">sys...") |
(No difference)
|
Latest revision as of 22:35, 5 October 2018
inherits sndfx;
trigger use { systemMessage(user, "Select the clothing to dye."); targetObj(user, this); return (0x00); }
trigger targetobj { if (usedon == NULL()) { return (0x00); } int Q66P = getObjType(usedon); int Q61R = getHue(this); loc Q66R = getLocation(usedon); sfx(Q66R, 0x023E, 0x00); setHue(usedon, Q61R); return (0x00); }