Wikia

WoWWiki

Changes: API GetNumTrackingTypes

Edit

Back to page

(New page: {{wowapi}} <center>'''GetNumTrackingTypes''' ''-Documentation by Vladinator-''</center> Returns the number of available tracking methods. GetNumTrackingTypes(); --...)
 
m
 
Line 1: Line 1:
 
{{wowapi}}
 
{{wowapi}}
<center>'''GetNumTrackingTypes''' ''-Documentation by [[User:Vladinator|Vladinator]]-''</center>
 
   
 
Returns the number of available tracking methods.
 
Returns the number of available tracking methods.

Latest revision as of 16:44, December 4, 2007

WoW API < GetNumTrackingTypes

Returns the number of available tracking methods.

GetNumTrackingTypes();

Arguments
none

Returns
Number of available tracking methods. Note that it excludes the "None" option from the counting. Both spells and static tracks are counted.

Example

Prints available tracking methods in the default chat frame:

local count = GetNumTrackingTypes();
DEFAULT_CHAT_FRAME:AddMessage(count);

Around Wikia's network

Random Wiki