WoWInterface (
-   Lua/XML Help (
-   -   Calling function from another addon (

Bound19375 06-27-21 06:56 AM

Calling function from another addon
Do anyone know how to call player main_swing_timer from WeaponSwingTimer-SixxFix to be used in another addon?

Fizzlemizz 06-27-21 07:14 AM

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.

All times are GMT -6. The time now is 02:11 PM.

vBulletin © 2022, Jelsoft Enterprises Ltd
© 2004 - 2021 MMOUI