Difference between revisions of "Script Function: Q4JL"

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> Q4JL(<span style="color:#0000FF">obj</span> user) { <span style="color:#0000FF">lis...")
 
 
Line 5: Line 5:
 
     <span style="color:#0000FF">string</span> x = Q5ZF[0x00];
 
     <span style="color:#0000FF">string</span> x = Q5ZF[0x00];
 
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, 0x00);
 
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, 0x00);
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, <span style="color:#800000">"Set the elevation filter. Terrain [[scan|<span style="color:#2B91AF">scan</span>]]s currently affect only elevations between "</span> + Q542 + <span style="color:#800000">" and "</span> + Q4W0 + <span style="color:#800000">"."</span>);
+
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, <span style="color:#800000">"Set the elevation filter. Terrain scans currently affect only elevations between "</span> + Q542 + <span style="color:#800000">" and "</span> + Q4W0 + <span style="color:#800000">"."</span>);
 
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, 0x01);
 
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, 0x01);
 
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, <span style="color:#800000">"Set the terrain tile filter. Currently set to "</span> + x + <span style="color:#800000">"."</span>);
 
     [[Engine Function:_appendToList|<span style="color:#FF0000;font-weight:bold">appendToList</span>]](Q56N, <span style="color:#800000">"Set the terrain tile filter. Currently set to "</span> + x + <span style="color:#800000">"."</span>);

Latest revision as of 16:57, 19 October 2018

 function void Q4JL(obj user)
 {
   list Q56N;
   gm = user;
   string x = Q5ZF[0x00];
   appendToList(Q56N, 0x00);
   appendToList(Q56N, "Set the elevation filter. Terrain scans currently affect only elevations between " + Q542 + " and " + Q4W0 + ".");
   appendToList(Q56N, 0x01);
   appendToList(Q56N, "Set the terrain tile filter. Currently set to " + x + ".");
   appendToList(Q56N, 0x02);
   appendToList(Q56N, "Change area of operation. Currently set to " + Q5VR + " to " + Q4NU + ".");
   appendToList(Q56N, 0x03);
   appendToList(Q56N, "Transition terrain.");
   appendToList(Q56N, 0x04);
   appendToList(Q56N, "Shade mountains (Defaults to mountain tiles unless overridden by the terrain tile filter).");
   appendToList(Q56N, 0x05);
   appendToList(Q56N, "Auto-embankments.");
   appendToList(Q56N, 0x06);
   appendToList(Q56N, "Place static items.");
   appendToList(Q56N, 0x07);
   appendToList(Q56N, "Change elevations.");
   appendToList(Q56N, 0x08);
   appendToList(Q56N, "Terrain fill.");
   appendToList(Q56N, 0x09);
   appendToList(Q56N, "Raise terrain.");
   appendToList(Q56N, 0x0A);
   appendToList(Q56N, "Lower terrain.");
   if (numInList(Q65Y) > 0x00)
   {
     appendToList(Q56N, 0x0B);
     appendToList(Q56N, "Undo last operation.");
   }
   selectType(gm, this, 0x00, "Building tools menu.", Q56N);
   return ();
 }