Difference between revisions of "Script Function: Q4S1"

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> Q4S1(<span style="color:#0000FF">obj</span> Q4H5) { <span style="color:#0000FF">if</...")
 
 
Line 5: Line 5:
 
       <span style="color:#0000FF">return</span> (0x00 - 0x01);
 
       <span style="color:#0000FF">return</span> (0x00 - 0x01);
 
     }
 
     }
     <span style="color:#0000FF">return</span> ([[getobjvar_int|<span style="color:#FF0000;font-weight:bold">getobjvar_int</span>]](Q4H5, <span style="color:#800000">"myhousetype"</span>));
+
     <span style="color:#0000FF">return</span> ([[Engine_Function:_getobjvar_int|<span style="color:#FF0000;font-weight:bold">getobjvar_int</span>]](Q4H5, <span style="color:#800000">"myhousetype"</span>));
 
   }
 
   }

Latest revision as of 02:45, 21 October 2018

 function int Q4S1(obj Q4H5)
 {
   if (!hasObjVar(Q4H5, "myhousetype"))
   {
     return (0x00 - 0x01);
   }
   return (getobjvar_int(Q4H5, "myhousetype"));
 }