Difference between revisions of "Script Function: Q4YT"

From Ultima Online: The Second Age
Jump to: navigation, search
(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...")
 
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">if</span> ([[Engine Function:_hasCallback|<span style="color:#FF0000;font-weight:bold">hasCallback</span>]](Q68S, 0x80))

Revision as of 07:52, 5 October 2018

function int Q4YT(obj Q68S)
{
  if (hasCallback(Q68S, 0x80))
  {
    return (0x01);
  }
  return (0x00);
}