View Single Post
09/29/18, 06:51 AM   #3
Eldrni
AddOn Author - Click to view addons
Join Date: Aug 2018
Posts: 7
Originally Posted by Baertram View Post
Check the esoui source code on github and search for the zo_bounty... :New function. There the object will be created. Most of the time is defined in a xml file and called something like BOUNTY_KEYBOARD or BOUNTY_PANEL etc.
The creation is located sometimes in the lua file esoui/ingame/bounty...lua,somewhere at the bottom.

https://github.com/esoui/esoui/blob/...ntydisplay.lua

Seems to inherit from the zo_stats_display. Check the same folder's subfolder keyboard and the lua/xml files in there.
Hi Baertram,

Thanks for the info. The file you mention is how I found ZO_BountyPanel. However I’m not able to successfully unanchor and move it. Every time I try to do something like ZO_BountyPanel:GetTop() in order to record its original position i get an error about trying to access a nil object. I’m not great at reading the source code yet, but is it possible that this object doesn’t exist until it’s needed (ie. commit a crime)?

Last edited by Eldrni : 09/29/18 at 07:04 AM.
  Reply With Quote