Enhanced Inn window - buttons and tabs issues
Greetings,
I'm attempting to enhance the Inn window to add a "visit" tab so folks won't
have to right-click their door and select "visit" but I've run into a couple problems:
1) I started by simply adding a "Visit" button next to the default "Enter House"
The button showed up in-game however when I clicked it, nothing happened. I
set the OnPress property to several variations of:
"show_window Parent.VisitInnRoom"
"/show_window Parent.VisitInnRoom"
"Parent.VisitInnRoom.Visible = true"
and a few others but none of them worked. I did try this in a macro:
/show_window PlayerHousing.VisitInnRoom
which worked however the search list was empty and the window didn't
function at all. Note: I did not edit the "visit" window at all. It appears the
list of residents is only populated by the right-click "visit" selection from the door.
2) I plan on adding this to a "Visit" tab however I don't seem to be able to
add a tab to the window... but that's a problem to tackle when I figure out
how to get the button to work.
Any thoughts or advice?
|