Difference between revisions of "Script Function: Q4K0"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4K0(<span style="color:#0000FF">obj</span> user, <span style="color:#0000FF">obj</span> u...") |
(No difference)
|
Latest revision as of 15:28, 12 October 2018
function int Q4K0(obj user, obj usedon, int Q5NM) { int Q5NC = 0x00; if (Q50G(usedon)) { Q5NC = 0x01; loc Q4VS = getLocation(user); loc there = getLocation(usedon); faceHere(user, getDirectionInternal(Q4VS, there)); doMobAnimation(usedon, 0x3709, 0x0A, 0x1E, 0x01, 0x00); sfx(there, 0x0208, 0x00); Q57M = usedon; Q57L = user; Q5UK(user, usedon, 0x02, Q5NM); callback(this, 0x01, 0x19); Q5NQ = Q5NM; } Q5UR(this, Q5NC); return (Q5NC); }