Difference between revisions of "MQ2RangeTLO" - MMOBugs Wiki

(formatting)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
  
==Description==
+
MQ2RangeTLO has been replaced by <font class="highlight2">MQ2MMOTLO</font>.  
<font class="highlight">MQ2RangeTLO</font> makes a new Top-Level Object called '''Range''' available.  It allows you to check if a value is inside or between a specified upper or lower bounds.  If the value falls with the specified parameters it will return TRUE, else it will return FALSE.
 
  
==Top-Level Object==
+
See: [[MQ2MMOTLO]]
 
 
* <span class="highlight2">Range :''bool''</span>
 
 
 
==Members==
 
 
 
* <span class="highlight2">Between[lower,upper:value]</span>
 
* <span class="highlight2">Inside[lower,upper:value]</span>
 
 
 
==Examples==
 
 
 
<pre>${Range.Inside[10,90:${Me.PctHPs}]}
 
${Range.Between[80,100:${Me.PctEndurance}]}
 
${Range.Inside[10,90:${Target.PctHPs}]}
 
${Range.Between[10,100:${Target.Distance}]}
 
 
 
Inside is like: (value>lower) && (value<upper)
 
Between is like: (value>=lower) && (value<=upper)</pre>
 
==Availability==
 
 
 
This plugin is included with the MMOBugs Compile.
 

Latest revision as of 18:56, 6 December 2010

Plugin Info
Name MQ2RangeTLO
Author htw
Link Forum Link
Commands None
Source Available No
Uses INI File No



MQ2RangeTLO has been replaced by MQ2MMOTLO.

See: MQ2MMOTLO