WoW TellMeWhen_Script_Tools addon Shadowlands/classic 2020
logo
wow addon TellMeWhen_Script_Tools

TellMeWhen_Script_Tools

Game Version: 9.0.2
Total Downloads: 23,095
Updated: Nov 22, 2020
Created: May 10, 2018
download TellMeWhen_Script_ToolsDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
1.2.5 release 17.50 KB Nov 22, 2020 9.0.2 0 download TellMeWhen_Script_Tools 1.2.5 releaseDownload
1.2.4 release 17.49 KB Sep 13, 2020 9.0.1 3,254 download TellMeWhen_Script_Tools 1.2.4 releaseDownload
v1.2.3 release 17.50 KB Dec 16, 2018 8.1.0 9,842 download TellMeWhen_Script_Tools v1.2.3 releaseDownload
v1.2.2 release 17.50 KB Dec 11, 2018 8.0.1 752 download TellMeWhen_Script_Tools v1.2.2 releaseDownload
v1.2.1 release 15.63 KB Nov 15, 2018 8.0.1 693 download TellMeWhen_Script_Tools v1.2.1 releaseDownload
1.1.0 release 142.61 KB Sep 25, 2018 8.0.1 1,877 download TellMeWhen_Script_Tools 1.1.0 releaseDownload
v1.0.22 release 137.41 KB Aug 2, 2018 8.0.1 3,536 download TellMeWhen_Script_Tools v1.0.22 releaseDownload
v1.0.21 release 124.92 KB Aug 2, 2018 8.0.1 23 download TellMeWhen_Script_Tools v1.0.21 releaseDownload
v1.0.20 release 124.85 KB Jul 23, 2018 8.0.1 984 download TellMeWhen_Script_Tools v1.0.20 releaseDownload
1.0.10 release 105.88 KB Jul 18, 2018 8.0.1 +1 736 download TellMeWhen_Script_Tools 1.0.10 releaseDownload
v1.0.9 release 104.05 KB Jun 3, 2018 7.3.5 901 download TellMeWhen_Script_Tools v1.0.9 releaseDownload
v1.0.8 release 100.82 KB Jun 1, 2018 7.3.5 57 download TellMeWhen_Script_Tools v1.0.8 releaseDownload
v1.0.6 release 80.73 KB May 14, 2018 7.3.5 269 download TellMeWhen_Script_Tools v1.0.6 releaseDownload
v1.0.3 release 62.53 KB May 11, 2018 7.3.5 79 download TellMeWhen_Script_Tools v1.0.3 releaseDownload
v1.0.1 release 35.15 KB May 10, 2018 7.3.5 +2 49 download TellMeWhen_Script_Tools v1.0.1 releaseDownload
v1.0.0 release 30.63 KB May 10, 2018 7.3.5 18 download TellMeWhen_Script_Tools v1.0.0 releaseDownload
v1.0.7 alpha 90.07 KB May 24, 2018 7.3.5 25 download TellMeWhen_Script_Tools v1.0.7 alphaDownload

Description

Share this:

his addon provides a list of utilities to help write icons driven by LUA scripts (Mostly through the Notifications>LUA interface, though the global methods will work just as well through the LUA Snippets interface)

 

Examples

 

Provided are some usage examples. Some examples contain explanations, so make sure to only copy the export code. 

 

  • Dynamic Absorb Bar
  • VDH Soul Fragments Tracker
  • Normalized Stagger bar (uses NormalizedStagger addon)
  • AHR Trinket tracker (tracks how much or the absorb is left, and how much damage was accumulated) 
  • Black Ox Statue Tracker
  • Last Defender buff tracker
  • Infested Tracker – a port of a very useful WA. This will only trigger when running keystones of level 10 or higher, and will add a floating icon on top of infested mobs
  • CC Trackers – this group will track all forms of CC (when they cast and when they will cancel). Uses the new Timers API

 

Utilities

Enemy Count Utilities

This module provides 3 main tools to count nearby enemies (for eg – to have a rotation based on number of nearby targets). All tools max out at 5 nearby enemies. 

Script Tools > Enemy Count condition

A new condition type was added to allow you to set conditions based on enemy count

 

LUA Methods
TMW_ST:EnableUnitCounter / TMW:DisableUnitCounter

This will enable/disable a new counter – "tmwst_hostiles_in_range".

TMW_ST:CountInRange(stop=5)

This function will return the number of nearby enemies. Will stop counting once/if stop has been achieved. 

 

Azerite Trait Condition

 

You can now check how many traits are active for a given spell id.

Counter Management

The library provides tools to get set counters for TellMeWhen:

 

TMW_ST:GetCounter(name)

This method will return the value of an existing counter

 

TMW_ST:InitCounter(name)

This method will initialize a counter for future use. Please note that you must call this on the Icon Setup notification event for any counter that is defined in your LUA scripts. Failing to do that will prevent TMW icons from accessing your counter

 

TMW_ST:UpdateCounter(name, value)

This method will update a counter value. Note that value must be a number.

 

Dynamic Text Setup

This toolset will allow you to set dynamic text that can be accessed in your icon labels (so that you can change icon text through LUA)

 

TMW_ST:SetScriptText(name, text)

This method will set a variable that you can access in icon labels using the following DogTag. 

 

[ST_GetScriptText(name)]

This DogTag will be accessible through your icon labels

Dynamic Bar

This tool is a new icon type- "Dynamic Bar" that allows you to manually set various properties of a bar icon. All the icon methods are only accessible through the Notifications > LUA interface.

 

There are 2 ways to control the bar growth – one is by setting a duration (startDurationTracking) or by manually setting max and current values.

icon:registerTriggerFunction(fnc)

This function can be used on Icon Setup event to register a function that will be called every time the icon goes through an update check. This function must return true for the icon to go through an update cycle. 

icon:setMaxValue(value) 

Set the max value for the bar

icon:setCurrentValue(value)

Set the current value of the bar.

icon:setBarColors(startColor, midColor, lastColor)

This allows you to manually set the color of your bar. A color is an 8-digit hex value representing an rgba color value (eg – "#aa12eeff"). Easiest way to access these colors is using TellMeWhen's color picker. You can pass nil if you want to only pass one or two of the parameters.

 

icon:startDurationTracking(duration)

Starts a duration countdown with {duration} length. If you use this without setting max/current values, it will control the bar display. Otherwise, it will create a value you can track using the various duration DogTags.

 

icon:setStacks(stacks[, stackText])

Will set the stacks attribute of the icon, so you can access in via DogTags. If you pass {stackText} it will control the value being displayed by the DogTag. 

 

Timers

You can now manipulate TMW timers using LUA:

 

TMW_ST.Timers.Init(name)

TMW_ST.Timers.Start(name)

TMW_ST.Timers.Stop(name)

TMW_ST.Timers.Reset(name)

TMW_ST.Timers.Restart(name)

TMW_ST.Timers.GetTime(name)

Comments

Add a comment