Difference between revisions of "Script: Play"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">trigger</span> use { setObjVar|<span style="color:#FF0000;font-weight:bold">setObjV...") |
(No difference)
|
Latest revision as of 16:48, 5 October 2018
inherits sndfx;
trigger use { setObjVar(user, "lastInstrument", this); int Q5U6; if (!skillTest(user, 0x1D)) { Q5U6 = getObjVar(this, "badSound"); sfx(getLocation(user), Q5U6, 0x3C); return (0x00); } Q5U6 = getObjVar(this, "goodSound"); sfx(getLocation(user), Q5U6, 0x3C); return (0x01); }