TellMeWhen

TellMeWhen

24M Downloads

[CF 1408] How to use LUA snippets

tmw-issue-import opened this issue ยท 2 comments

commented

Since I couldn't find any guide on the subject, figured I would ask - how is the LUA snippets feature meant to be used?

 

  • Are there any special hooks it can register to?
  • Can it set variables that will be accessible with TMW conditions/text?

I know how to write LUA code for WoW, but not sure how it's meant to be hooked into this feature.

 

(couldn't even find examples of this being used, but if such examples exist I could probably just play with them to figure it out)


Posted by CurseForge user ariehg | Imported from CurseForge issue #1408 | Raw

commented

There's nothing really special about them - just a way to have some custom Lua code that can be easily exported/imported to other TMW users.

 

You can use TMW's API: https://wow.curseforge.com/projects/tellmewhen/pages/api

 

if you want to create a custom DogTag for your text displays, you'll have to use DogTag's API. Put it in the "TMW" DogTag namespace.

 


Edited May 15, 2017

Posted by CurseForge user Cybeloras

commented

Where can I find the DogTag API??


Edited May 15, 2017

Posted by CurseForge user krisam2408