Plugin Info | |
---|---|
Name | MQ2TaskTLO |
Version | 1.01 |
Author | htw |
Commands | None |
Uses INI File | No |
Description
MQ2TaskTLO is a plugin that adds a ${Task} TLO (Top Level Object) for use in game (and especially by macro writers or HUDs).
TLO Reference
The TLO members are as follows:
- string Name The char name in task
- Task Leader The leader of the task
- Task Member[#|name] The task member # or name
- int Members Current number of characters in the task
- bool IsLeader Is the char the task leader?
- spawn Spawn Object for this player if available (must be in zone)
- To String Same as Name
Examples
- ${Task.IsLeader} Am I the task leader?
- ${Task.Name} My name
- ${Task.Members} # of members in task
- ${Task.Member[3].Name} Name of 3rd task member
- ${Task.Member[2].IsLeader} Is 2nd task member task leader?
- ${Task.Member[Razza].IsLeader} Is Razza task leader?
- ${Task.Member[Razza].Spawn.Level} Razza's level (must be in zone)
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.