Difference between revisions of "Script Function: Q446"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q446(<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 Q446(obj user, obj usedon) { if (usedon == NULL()) { return (0x00); } if ((containedBy(usedon) == NULL()) && (canSeeObj(user, usedon) != 0x01)) { bark(user, "I cannot see that object."); return (0x00); } if (isMobile(usedon)) { bark(user, "I cannot gate travel from that object."); return (0x00); } return (0x01); }