Difference between revisions of "Script Function: Q4YT"
From Ultima Online: The Second Age
(Created page with "<span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4YT(<span style="color:#0000FF">obj</span> Q68S) { <span style="color:#0000FF">if</span...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4YT(<span style="color:#0000FF">obj</span> Q68S) | + | <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4YT(<span style="color:#0000FF">obj</span> Q68S) |
− | + | { | |
− | + | <span style="color:#0000FF">if</span> ([[Engine Function:_hasCallback|<span style="color:#FF0000;font-weight:bold">hasCallback</span>]](Q68S, 0x80)) | |
− | + | { | |
− | + | <span style="color:#0000FF">return</span> (0x01); | |
− | + | } | |
− | + | <span style="color:#0000FF">return</span> (0x00); | |
− | + | } |
Latest revision as of 04:26, 10 October 2018
function int Q4YT(obj Q68S) { if (hasCallback(Q68S, 0x80)) { return (0x01); } return (0x00); }