Thread Tools Display Modes
08/21/14, 04:51 PM   #1
TempOyster
Join Date: Aug 2014
Posts: 2
Question Provisioning AddOn

Hi, I would like to make a simple addon for cooking. I need to know the name of the control for a recipe after I click on it. I just need the name of the recipe, and the recipe index.

Thanks
  Reply With Quote
08/21/14, 07:29 PM   #2
Randactyl
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 251
Hi

Getting the data in this way involves a pretty long path.

For example, the second entry in my list of recipes:

ZO_ProvisionerTopLevelNavigationContainerScrollChildZO_ProvisionerNavigationEntry2.data.name
ZO_ProvisionerTopLevelNavigationContainerScrollChildZO_ProvisionerNavigationEntry2.data.recipeIndex

I found this using Zgoo, which is hands down the most helpful addon ever.

You can use "/zgoo mouse" to get information about the item your cursor is currently hovering over or "/zgoo [name]" to find information about a specific, globally available constant, table, control, etc. You can also just use "/zgoo" to browse through all of the information available to you at once.
  Reply With Quote
08/21/14, 08:08 PM   #3
katkat42
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 155
Originally Posted by TempOyster View Post
Hi, I would like to make a simple addon for cooking. I need to know the name of the control for a recipe after I click on it. I just need the name of the recipe, and the recipe index.

Thanks
PROVISIONER.recipeTree.selectedNode.data might be another place to look.
  Reply With Quote
08/21/14, 08:33 PM   #4
TempOyster
Join Date: Aug 2014
Posts: 2
Cool thanks for the replies and the addon link, I'll try it out, looks fun.
  Reply With Quote
08/22/14, 12:55 AM   #5
Randactyl
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 251
Originally Posted by katkat42 View Post
PROVISIONER.recipeTree.selectedNode.data might be another place to look.
Ahh. I tried looking for PROVISIONING
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Provisioning AddOn


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