Thread Tools Display Modes
05/25/21, 12:14 PM   #1
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,959
[open]GetGameCameraInteractableActionInfo() should differ additionalInteractInfo

The 5th return value of the function GetGameCameraInteractableActionInfo() is the additionalInteractInfo.
It currently is able to return the following values:
Code:
ADDITIONAL_INTERACT_INFO_EMPTY = 2
ADDITIONAL_INTERACT_INFO_FISHING_NODE = 3
ADDITIONAL_INTERACT_INFO_HOUSE_BANK = 9
ADDITIONAL_INTERACT_INFO_HOUSE_INSTANCE_DOOR = 11
ADDITIONAL_INTERACT_INFO_INSTANCE_TYPE = 4
ADDITIONAL_INTERACT_INFO_IN_HIDEYHOLE = 8
ADDITIONAL_INTERACT_INFO_LOCKED = 1
ADDITIONAL_INTERACT_INFO_NONE = 0
ADDITIONAL_INTERACT_INFO_PICKPOCKET_CHANCE = 6
ADDITIONAL_INTERACT_INFO_REQUIRES_KEY = 5
ADDITIONAL_INTERACT_INFO_WEREWOLF_ACTIVE_WHILE_ATTEMPTING_TO_CRAFT = 7
ADDITIONAL_INTERACT_INFO_WEREWOLF_ACTIVE_WHILE_ATTEMPTING_TO_EXCAVATE = 10
I'd like to request another split of ADDITIONAL_INTERACT_INFO_LOCKED into:
Code:
ADDITIONAL_INTERACT_INFO_LOCKED_DOOR --Doors
ADDITIONAL_INTERACT_INFO_LOCKED_CHEST --Chests
ADDITIONAL_INTERACT_INFO_LOCKED_<other item name> --<other items> -> Optional
ADDITIONAL_INTERACT_INFO_LOCKED  --All others
If this is possible. This way one would be able to distinguish chests from doors, as this currently is ONLY available via the actionText return value 1.
And the Strings of them like "Chest", "Container", etc. cannt be found somewhere as SI_ String constants in the game So we need to create manual hard coded tables for all languages to distinguish the interactable items.
Either we need the texts as SI_ constants or some better way to distinguish them please.

Many thanks
  Reply With Quote
05/25/21, 08:26 PM   #2
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 176
I might be able to come up with some parts of this, would need to see what I have available. Out of curiosity, would an extra param or a secondary API that's a qualifier for when the type is _LOCKED do the trick? i.e.: GetGameCameraLockedInteractableActionInfo or some such? That way I wouldn't need to refactor ADDITIONAL_INTERACT_INFO if that ends up being an issue?
  Reply With Quote
05/26/21, 03:41 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,959
Sure, everything that helps to determine uniquely if it was a door or chest would help. Thank you very much
  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open]GetGameCameraInteractableActionInfo() should differ additionalInteractInfo

Thread Tools
Display Modes

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