So I've been messing around with the code, trying to get a crafting button to work in the game menu(with the friends, guild, character, etc. buttons)
Â
I have the button and the code is mostly right, but I cant seem to figure out how to call a specific crafting table because the Carfting Window doesn't have a '.show' function. This is the code I have for my ToggleCraftingWindow:
Â
public void ToggleCraftingWindow()
{
if (mCraftingWindow.IsVisible())
{
mCraftingWindow.Hide();
}
else
{
HideWindows();
Globals.ActiveCraftingTable = CraftingTableBase.FromList(0);
mCraftingWindow.Update();
}
}
Question
Lunam
So I've been messing around with the code, trying to get a crafting button to work in the game menu(with the friends, guild, character, etc. buttons)
Â
I have the button and the code is mostly right, but I cant seem to figure out how to call a specific crafting table because the Carfting Window doesn't have a '.show' function. This is the code I have for my ToggleCraftingWindow:
Â
Â
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now