Difference between revisions of "Script Function: Q4BR"

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> Q4BR(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">string</span...")
 
 
Line 16: Line 16:
 
     {
 
     {
 
       Q5ZX = Q4E4[Q53X];
 
       Q5ZX = Q4E4[Q53X];
       <span style="color:#0000FF">int</span> Q68N = [[teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q5ZX, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this));
+
       <span style="color:#0000FF">int</span> Q68N = [[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q5ZX, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this));
 
     }
 
     }
 
     <span style="color:#0000FF">return</span> (0x01);
 
     <span style="color:#0000FF">return</span> (0x01);
 
   }
 
   }

Latest revision as of 07:46, 19 October 2018

 function int Q4BR(obj this, string Q698, obj speaker)
 {
   if (Q698 != "drop")
   {
     return (0x00);
   }
   if (0x00)
   {
     bark(this, "Got order to drop.");
   }
   list Q4E4;
   obj Q5ZX;
   getContents(Q4E4, this);
   Q4LJ(this);
   for(int Q53X = 0x00; Q53X < numInList(Q4E4); Q53X++)
   {
     Q5ZX = Q4E4[Q53X];
     int Q68N = teleport(Q5ZX, getLocation(this));
   }
   return (0x01);
 }