ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [open]GetGameCameraInteractableActionInfo() should differ additionalInteractInfo (https://www.esoui.com/forums/showthread.php?t=9747)

Baertram 05/25/21 12:14 PM

[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

ZOS_DanBatson 05/25/21 08:26 PM

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?

Baertram 05/26/21 03:41 AM

Sure, everything that helps to determine uniquely if it was a door or chest would help. Thank you very much


All times are GMT -6. The time now is 03:14 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI