Thread Tools Display Modes
Today, 04:03 PM   #1
Saint-Ange
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 19
Question Deconstruction tab

hello,

I need your help, I've tried many things from the wiki but in vain for so long.

I'd like to create a function that will run only when on the deconstruction tab of a crafting station. of course on crafting station interact works for the whole station interacting but I'd like to avoid unnecessary computing.

I'm a beginner though yesterday I was quite happy and thought I had quit the snowplow but no, too soon and I twisted my brain

Last edited by Saint-Ange : Today at 04:11 PM. Reason: for clarity
  Reply With Quote
Today, 06:53 PM   #2
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 418
You'd want to add something to the deconstruction scene. Unfortunately, I don't usually work with scenes, so I'm not sure of the exact functions, but it might be something like UNIVERSAL_DECONSTRUCTION_KEYBOARD_SCENE:AddFragment(https://github.com/esoui/esoui/blob/...cenes.lua#L219)


If that doesn't work, you could also check out https://github.com/esoui/esoui/blob/...n_keyboard.lua and https://github.com/esoui/esoui/blob/...nel_shared.lua
and find some function that you could hook.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Deconstruction tab


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