WoW API: SetTracking

Revision as of 23:05, 14 November 2007 by WoWWiki>Vladinator (New page: {{wowapi}} <center>'''SetTracking''' ''-Documentation by Vladinator-''</center> Changes tracking method to the specified id. SetTracking(id); ---- ;''Arguments'' ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < SetTracking

SetTracking -Documentation by Vladinator-

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);