So, I'm trying to track a way point when it's updated, but I can't get it to actually work in my addon. If I use /script with C_SuperTrack.SetSuperTrackedUserWaypoint(true); it works fine, but in the lua files seems to not. I have it inside an if block, but I know the block triggers because a print() will fire. Any ideas?
Yes, I needed to give it a frame between the event firing and setting it as tracked. Used the C_Timer.After function thanks to help in the Wow Addons discord.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So, I'm trying to track a way point when it's updated, but I can't get it to actually work in my addon. If I use /script with C_SuperTrack.SetSuperTrackedUserWaypoint(true); it works fine, but in the lua files seems to not. I have it inside an if block, but I know the block triggers because a print() will fire. Any ideas?
Seems you already fixed it
Yes, I needed to give it a frame between the event firing and setting it as tracked. Used the C_Timer.After function thanks to help in the Wow Addons discord.