Quantcast [implemented] Housing API Request (Furniture State Management) - ESOUI
Thread Tools Display Modes
02/25/18, 07:09 PM   #1
Cardinal05
AddOn Author - Click to view addons
Join Date: Feb 2018
Posts: 17
[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.
__________________
Geezus Take The Heal (@Cardinal05)
Creator of Essential Housing Tools | Furniture Snap | Guild Alert | Immaculate Construction | Magic Carpet

Last edited by Cardinal05 : 02/26/18 at 04:51 AM.
 
02/26/18, 06:13 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,086
Related to http://www.esoui.com/forums/showthread.php?t=7153 and http://www.esoui.com/forums/showthread.php?t=6892
__________________
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
 
03/08/18, 03:25 AM   #3
manavortex
 
manavortex's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 137
I second this.
 
07/21/18, 09:38 PM   #4
Cardinal05
AddOn Author - Click to view addons
Join Date: Feb 2018
Posts: 17
Chip - Thank you!

@ZOS_ChipHilseberg Chip, thank you so much for these functions! You are awesome!
__________________
Geezus Take The Heal (@Cardinal05)
Creator of Essential Housing Tools | Furniture Snap | Guild Alert | Immaculate Construction | Magic Carpet
 

ESOUI » Developer Discussions » Wish List » [implemented] Housing API Request (Furniture State Management)

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