ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [implemented] Housing API Request (Furniture State Management) (https://www.esoui.com/forums/showthread.php?t=7650)

Cardinal05 02/25/18 07:09 PM

[implemented] Housing API Request (Furniture State Management)
 
What has been provided so far for the Housing API is great -- and we have been able to build a number of useful (and fun) add-ons with it. Given housing's popularity, a large number of requests have been made by players. One very common request has been for the ability to automatically reset lights, incense and other interactive items to a particular state (On, Off, etc.). With that in mind, I wanted to suggest 3 new, related functions if at all possible:
  1. Function to read the current "State" of a specific Furniture Id. For example:
    HousingEditorGetFurnitureState( furnitureId ) returns "On" or "Off" for a given Light furnishing. Ideally, this would work for any furnishing that has multiple states.
  2. Function to set the current "State" of a specific Furniture Id. For example:
    HousingEditorToggleFurnitureState( furnitureId, state ) could change an Incense to "On" or "Off".
  3. Function to identify the possible states of a given Furniture Id. For example:
    HousingEditorGetPossibleFurnitureStates( furnitureId ) returns { "On", "Off" } for an interactive Light.

sirinsidiator 02/26/18 06:13 AM

Related to http://www.esoui.com/forums/showthread.php?t=7153 and http://www.esoui.com/forums/showthread.php?t=6892

manavortex 03/08/18 03:25 AM

I second this.

Cardinal05 07/21/18 09:38 PM

Chip - Thank you!
 
@ZOS_ChipHilseberg Chip, thank you so much for these functions! You are awesome! :banana: :banana: :banana:


All times are GMT -6. The time now is 08:44 AM.

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