WoW:API SetTracking: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: {{wowapi}} <center>'''SetTracking''' ''-Documentation by Vladinator-''</center> Changes tracking method to the specified id. SetTracking(id); ---- ;''Arguments'' ...)
 
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''SetTracking''' ''-Documentation by [[User:Vladinator|Vladinator]]-''</center>


Changes tracking method to the specified id.
Changes tracking method to the specified id.

Revision as of 16:44, 4 December 2007

WoW API < SetTracking

Changes tracking method to the specified id.

SetTracking(id);

Arguments
id
The id of the track you would like to change to. The id is assigned by the client, 1 is the first tracking method available on the tracking list, 2 is the next and so on. The option "None" does not have a id assigned but can be accessed using nil.

Returns
nothing

Example

Changes to the first tracking method on the list:

SetTracking(1);

Changes the tracking method to "None" ('nil' is not required):

SetTracking(nil);