Difference between revisions of "Script Function: Q4ZB"

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> Q4ZB(<span style="color:#0000FF">obj</span> it) { <span style="color:#0000FF">if</sp...")
 
 
Line 4: Line 4:
 
     {
 
     {
 
       <span style="color:#0000FF">int</span> Q65M = [[Engine Function:_getCorpseBodyType|<span style="color:#FF0000;font-weight:bold">getCorpseBodyType</span>]](it);
 
       <span style="color:#0000FF">int</span> Q65M = [[Engine Function:_getCorpseBodyType|<span style="color:#FF0000;font-weight:bold">getCorpseBodyType</span>]](it);
       <span style="color:#0000FF">if</span> ([[isHumanBodyType|<span style="color:#2B91AF">isHumanBodyType</span>]](Q65M))
+
       <span style="color:#0000FF">if</span> ([[Script_Function:_isHumanBodyType|<span style="color:#2B91AF">isHumanBodyType</span>]](Q65M))
 
       {
 
       {
 
         <span style="color:#0000FF">return</span> (0x01);
 
         <span style="color:#0000FF">return</span> (0x01);

Latest revision as of 09:45, 21 October 2018

 function int Q4ZB(obj it)
 {
   if (isCorpse(it))
   {
     int Q65M = getCorpseBodyType(it);
     if (isHumanBodyType(Q65M))
     {
       return (0x01);
     }
   }
   return (0x00);
 }