Difference between revisions of "MQ2TaskTLO" - MMOBugs Wiki

(Initial entry.)
 
(Redirected to see MQ2MMOTLO)
 
Line 5: Line 5:
 
|commands=None
 
|commands=None
 
}}
 
}}
__TOC__
 
  
==Description==
+
MQ2TaskTLO has been replaced by <font class="highlight2">MQ2MMOTLO</font>.
  
<font class="highlight">MQ2TaskTLO</font> is a plugin that adds a ${Task} TLO (Top Level Object) for use in game (and especially by macro writers or HUDs).
+
See:  [[MQ2MMOTLO]]
  
 
+
[[Category: Plugins]]
==TLO Reference==
 
 
 
The TLO members are as follows:
 
 
 
* <font color="orange">string</font> <font class="highlight2">Name</font> The char name in task
 
* <font color="orange">Task</font> <font class="highlight2">Leader</font> The leader of the task
 
* <font color="orange">Task</font> <font class="highlight2">Member[#|name]</font> The task member # or name
 
* <font color="orange">int</font> <font class="highlight2">Members</font> Current number of characters in the task
 
* <font color="orange">bool</font> <font class="highlight2">IsLeader</font> Is the char the task leader?
 
* <font color="orange">spawn</font> <font class="highlight2">Spawn</font> Object for this player if available (must be in zone)
 
* <font color="orange">To String</font> Same as Name
 
 
 
==Examples==
 
 
 
* <font color="magenta">${Task.IsLeader}</font> <font color="DeepSkyBlue">Am I the task leader?</font>
 
* <font color="magenta">${Task.Name}</font> <font color="DeepSkyBlue">My name</font>
 
* <font color="magenta">${Task.Members}</font> <font color="DeepSkyBlue"># of members in task</font>
 
* <font color="magenta">${Task.Member[3].Name}</font> <font color="DeepSkyBlue">Name of 3rd task member</font>
 
* <font color="magenta">${Task.Member[2].IsLeader}</font> <font color="DeepSkyBlue">Is 2nd task member task leader?</font>
 
* <font color="magenta">${Task.Member[Razza].IsLeader}</font> <font color="DeepSkyBlue">Is Razza task leader?</font>
 
* <font color="magenta">${Task.Member[Razza].Spawn.Level}</font> <font color="DeepSkyBlue">Razza's level (must be in zone)</font>
 
 
 
As you can see, members can be indexed by name or #. # is member 1 through x. If name is used, and is not in task, NULL is returned (as expected).
 
 
 
 
 
==Availability==
 
 
 
This plugin comes with the MMOBugs binary and install distributions. Source code is not available.
 
 
 
[[Category: Needs Screenshot]]
 

Latest revision as of 18:58, 6 December 2010

Plugin Info
Name MQ2TaskTLO
Version 1.01
Author htw
Commands None
Uses INI File No


MQ2TaskTLO has been replaced by MQ2MMOTLO.

See: MQ2MMOTLO