Difference between revisions of "Script Function: Q49W"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q49W(<span style="color:#0000FF">obj</span> Q4XN, <span style="color:#0000FF">obj</span> Q...") |
(No difference)
|
Latest revision as of 10:54, 10 October 2018
function int Q49W(obj Q4XN, obj Q5KD, obj Q5KC, int Q5NM) { if (Q5KC == NULL()) { return (0x00); } if (Q50O(Q4XN)) { if ((!isEquipped(Q4XN)) || (containedBy(Q4XN) != Q5KD)) { systemMessage(Q5KD, "You must equip this item to use it."); return (0x00); } } return (Q49V(Q5KD, Q5KC, Q5NM)); }