Fandom

WoWWiki

API SetTracking

104,637pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < SetTracking

Version 4.0 or higher Edit

This command has been altered with the introduction of having more than one tracking skill active at a time. See Pre-4.0 for the old version.

Enables or disables a specified tracking.

SetTracking(id,boolean)

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.
boolean : Can be true or false - true to enable a tracking, false to disable it.

Returns
nothing

Example

Enables the first tracking method on the list:

SetTracking(1,true);

Disables the first tracking method on the list:

SetTracking(1,false);
SetTracking(1);

Pre-4.0 Edit

This command has been altered with the introduction of having more than one tracking skill active at a time. See Version 4.0 or higher for the newer version.


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

Also on Fandom

Random Wiki