Thread Tools Display Modes
03/01/21, 11:01 AM   #1
Gabriel_H
 
Gabriel_H's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2021
Posts: 11
Originally Posted by Baertram View Post
Somehow sounds like a use case for "profiles" instead of "switch on demand". You already said that getting into combat will block any chance changing the CP slots. Should be the same as changing gear etc. as you will be in combat before the addon can react on it. The guard is not raising his finger And if so he is not telling the API he will pull you into combat soon so the addon could react before you get pulled into combat.
Either something for a CP profile changing the slots before you try to steal/sneak etc. or a keybind change maybe?
But the combat only initates after selecting the "Flee" dialogue option. If you walk into a guard while already having an active bounty, and not already in sneak mode, before combat starts then that's on you to have had it slotted.
 
03/01/21, 11:18 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,033
Originally Posted by Gabriel_H View Post
But the combat only initates after selecting the "Flee" dialogue option. If you walk into a guard while already having an active bounty, and not already in sneak mode, before combat starts then that's on you to have had it slotted.
A right, this should be detectable then via event_chatter_begin or similar. Maybe there even is an extra chatter type or something like an own event for it.
In the esoui txt API documentation you'll find e.g. MsgInteractTypes CHATTER_...

Btw: The infamy level does not decrease if you successfully flee afaik. It will lower itsself over time, but not necessarily fter fleeing already, isn't it?

Last edited by Baertram : 03/01/21 at 11:23 AM.
 

ESOUI » AddOns » Alpha/Beta AddOns » Jack of all Trades


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off