Difference between revisions of "Script Function: Q4RZ"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q4RZ(<span style="color:#0000FF">obj</span> item) { <span style="color:#0000FF">obj<...") |
(No difference)
|
Latest revision as of 14:33, 12 October 2018
function obj Q4RZ(obj item) { obj Q4BA; obj Q5KE = item; int first = 0x01; while((first == 0x01) || (isContainer(Q5KE))) { first = 0x00; Q4BA = containedBy(Q5KE); if (Q4BA == NULL()) { return (NULL()); } if (isPlayer(Q4BA)) { return (Q4BA); } if (isNPC(Q4BA)) { return (Q4BA); } Q5KE = Q4BA; } return (NULL()); }