View Single Post
10-03-21, 01:51 PM   #4
martigan30
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Sep 2021
Posts: 6
I made some changes to this addon. It's now available as version 1.2. I did run into an issue and I wasn't too happy with the workaround, but it works fine nonetheless. I used TalkingHeadFrame_CloseImmediately() to close the talking head window. There are two other methods, TalkingHeadFrame_Close() and C_TalkingHead.IgnoreCurrentTalkingHead(), both of which briefly display the talking head, which is annoying. The problem is, once TalkingHeadFrame_CloseImmediately() is run, I cannot get the talking heads back without having to call ReloadUI(). I tried unregistering and re-registering the events, but that did not work. I did not have to ReloadUI() when using the other two less-preferred methods of closing the Talking Heads window...but like I said earlier, their usage is annoying.

Changelog:

-------------------------------------------
I have added a slash command interface for this addon. The default values are:

Block "A Chilling Summons" quest = true
Block Talking Heads = true
Block "A Chilling Summons" talking head text = true
No Chilling Summons addon enabled = true

These settings can be changes with the following commands in-game:

-Type '/NCS Default' to set to default.
-Type '/NCS Shadowlands' to toggle the 'No Chilling Summons' blocker off and on.
-Type '/NCS Head' to toggle the talking heads blocker off and on.
-Type '/NCS Text' to toggle Morgraine's talking head text off and on.
-Type '/NCS Off' to turn off the addon.
-Type '/NCS On' to turn on the addon.

Also:

-Type '/NCS Help' to display these commands
-Type '/NCS' to display current settings

These settings will persist from session to session.
-------------------------------------------
  Reply With Quote