Difference between revisions of "Script Function: Q4Z1"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4Z1(<span style="color:#0000FF">loc</span> Q5H7) { <span style="color:#0000FF">int<...") |
(No difference)
|
Latest revision as of 17:24, 12 October 2018
function int Q4Z1(loc Q5H7) { int Q6A0 = getZ(Q5H7); if (Q6A0 < Q542) { return (0x01); } if (Q6A0 > Q4W0) { return (0x01); } if (numInList(Q5ZF) < 0x02) { return (0x00); } int t = getTile(Q5H7); if (!isInList(Q5ZF, t)) { return (0x01); } return (0x00); }