Difference between revisions of "Script Function: Q4K3"

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> Q4K3(<span style="color:#0000FF">obj</span> gate, <span style="color:#0000FF">obj</span> Q...")
 
 
Line 10: Line 10:
 
     {
 
     {
 
       [[Script_Function:_Q4K1|<span style="color:#2B91AF">Q4K1</span>]](gate, Q68S);
 
       [[Script_Function:_Q4K1|<span style="color:#2B91AF">Q4K1</span>]](gate, Q68S);
       Q527 = [[teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q68S, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](gate));
+
       Q527 = [[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q68S, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](gate));
 
       <span style="color:#0000FF">return</span> (0x00);
 
       <span style="color:#0000FF">return</span> (0x00);
 
     }
 
     }

Latest revision as of 07:45, 19 October 2018

 function int Q4K3(obj gate, obj Q68S)
 {
   if (!Q4ZP(gate, Q68S))
   {
     return (0x01);
   }
   Q48E(Q68S);
   int Q527;
   if (Q4C6(gate, Q68S))
   {
     Q4K1(gate, Q68S);
     Q527 = teleport(Q68S, getLocation(gate));
     return (0x00);
   }
   else
   {
     Q527 = Q4K2(gate, Q68S);
   }
   return (0x00);
 }