TellMeWhen

TellMeWhen

24M Downloads

[CF 1542] How  can I use dogtags    Notification Handler( option lua )? 

tmw-issue-import opened this issue · 2 comments

commented

How  can I use dogtags    Notification Handler( option lua )?    

 

 

1. Make Icon     Icon type => Spell Cast

2. Add Notification Handler (option Lua)

3.  Write script

 

<On Show Notification Handler>

 

-- <Untitled Lua Code>

local icon = ...

--Your code goes here:

  print ( icon.[spell] )     <==== I know, it does not work.

 

 

 

Sometimes, I want to get some information about the icon.    e.g)  spellname, spell_id, sourceName , destName, etc.

Is it possible?

 

 

 

 

 


Posted by CurseForge user gkdlepdj | Imported from CurseForge issue #1542 | Raw

commented

You'll find those in icon.attributes. 

 

icon.attributes.spell, icon.attributes.sourceUnit, icon.attributes.destUnit


Posted by CurseForge user Cybeloras

commented

It works !!!    Thank you very much  : )


Posted by CurseForge user gkdlepdj