Difference between revisions of "Script Function: Q42D"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q42D(<span style="color:#0000FF">obj</span> it, <span style="color:#0000FF">int</span> Q5...") |
(No difference)
|
Latest revision as of 09:56, 10 October 2018
function void Q42D(obj it, int Q5VX, int Q4ID) { int Q463 = 0x01; if (!Q4ID) { Q463 = 0x00 - 0x01; } if (!isMobile(it)) { return (); } string name = Q4T9(Q5VX, Q463); if (hasObjVar(it, name)) { Q463 = getObjVar(it, name); Q43H(it, Q5VX, 0x00 - Q463); removeObjVar(it, name); } if (hasScript(it, name)) { detachScript(it, name); } return (); }