Difference between revisions of "Script Function: Q65W"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q65W(<span style="color:#0000FF">obj</span> Q4XN) { <span style="color:#0000FF">loc...")
 
 
Line 7: Line 7:
 
       [[Engine Function:_removeObjVar|<span style="color:#FF0000;font-weight:bold">removeObjVar</span>]](Q4XN, <span style="color:#800000">"UnJailLoc"</span>);
 
       [[Engine Function:_removeObjVar|<span style="color:#FF0000;font-weight:bold">removeObjVar</span>]](Q4XN, <span style="color:#800000">"UnJailLoc"</span>);
 
     }
 
     }
     <span style="color:#0000FF">int</span> Q527 = [[teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q4XN, Q4U3);
+
     <span style="color:#0000FF">int</span> Q527 = [[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q4XN, Q4U3);
 
     <span style="color:#0000FF">return</span> ();
 
     <span style="color:#0000FF">return</span> ();
 
   }
 
   }

Latest revision as of 07:46, 19 October 2018

 function void Q65W(obj Q4XN)
 {
   loc Q4U3 = 0x05E0, 0x05F9, 0x28;
   if (hasObjVar(Q4XN, "UnJailLoc"))
   {
     Q4U3 = getObjVar(Q4XN, "UnJailLoc");
     removeObjVar(Q4XN, "UnJailLoc");
   }
   int Q527 = teleport(Q4XN, Q4U3);
   return ();
 }