Difference between revisions of "Script Function: Q5S1"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q5S1(<span style="color:#0000FF">obj</span> house, <span style="color:#0000FF">obj</span>...") |
(No difference)
|
Latest revision as of 21:58, 11 October 2018
function int Q5S1(obj house, obj Q5HY) { if (!hasObjVar(house, "myhousedoors")) { return (0x00); } list doors; getObjListVar(doors, house, "myhousedoors"); if (numInList(doors) < 0x01) { return (0x00); } obj Q5AB = doors[0x00]; obj Q5NC = mobileHasObjWithListObjOfObj(Q5HY, "whatIUnlock", Q5AB); if (Q5NC == NULL()) { return (0x00); } return (0x01); }