Quantcast
WoWInterface - View Single Post - Calling function from another addon
View Single Post
06-27-21, 07:14 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,439
addon_data.player.main_swing_timer isn't a function, it's a variable. It's in the addons private table (addon_data) so you can't use it in another addon without altering the WST addon itself.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote