Click Take All Button, but the inventory grid panel show up.

Kehaw

Member
Hello,If I open My inventory grid panel and close it, after that when I click Take All button, the inventory grid panel open automatically.

I don't know why, all details in this video:


(Cancel button also get same result.)

I remember in last post, Mr Sangemdoko said:

1. For the panels, that's a pretty common issue. By default when you close a panel it will open the "previous" panel. That's very useful when nesting panels, but no so much for floating panels how you have it.

Rather than calling the "SmartOpen" function when pressing the Inventory button, call the "Open" function

But in this case, I'm not use SmartOpen. And I have been change the code to close(false) like this:

public virtual void SmartClose()
{
Close(false);
}

It's not working for me.

So I change the ChestMenu.cs and set all close function to Close(false) like;

/// <summary>
/// Handle the cancel button being clicked.
/// </summary>
protected virtual void CancelButtonClicked()
{
m_DisplayPanel.Close(false);
}

now it looks working fine.

but I'm not sure this is finally solution.


Thanks.
 
Last edited:
I think the issue you are experiencing is because You don't have a "gameplay" panel.
1715930257463.png
if you had one the chest would select the gameplay panel once closed.

But if changing the ChestMenu code works for you then I think it's a good solution.
 
I found a wiered
I think the issue you are experiencing is because You don't have a "gameplay" panel.
View attachment 12677
if you had one the chest would select the gameplay panel once closed.

But if changing the ChestMenu code works for you then I think it's a good solution.
I tried add a Gameplay panel, but not fix my problem. I will be tring again in the future. Thank you.
 
Last edited:
Top