Hello Tony!
I want to open the Journal using the keyboard button, J. Any way to do it?
Thanks for your time and appreciate your help.
Open the Journal using Keyboard Buttons
Re: Open the Journal using Keyboard Buttons
Hi,
Call the QuestJournal's ToggleJournalUI() method to toggle it open or closed. Or call ShowJournalUI() to only open it.
You can do this in a script:
Or you can configure a UI button to open the journal, and then add a UIButtonKeyTrigger component to the UI button to map a hotkey to it.
Call the QuestJournal's ToggleJournalUI() method to toggle it open or closed. Or call ShowJournalUI() to only open it.
You can do this in a script:
Code: Select all
QuestMachine.GetQuestJournal().ToggleJournalUI();
Re: Open the Journal using Keyboard Buttons
Nice! It's working perfectly!
But now I have some problems which link to Dialogue System - after I added this UIButtonKeyTrigger to my UI Button, Space button doesn't work for the continue button. Is there anything that I might possibly press wrong?
Also, the cursor is invisible when the game starts. Yet, I have unchecked 'Enable the cursor with escape' and have ticked on 'Show Cursor During Conversation'. 'Pause Game During Conversation' also doesn't work when the intro conversation(The OnStart conversation I set) displays.
I have been solving these issues for 1day+. Really appreciate your help!!
But now I have some problems which link to Dialogue System - after I added this UIButtonKeyTrigger to my UI Button, Space button doesn't work for the continue button. Is there anything that I might possibly press wrong?
Also, the cursor is invisible when the game starts. Yet, I have unchecked 'Enable the cursor with escape' and have ticked on 'Show Cursor During Conversation'. 'Pause Game During Conversation' also doesn't work when the intro conversation(The OnStart conversation I set) displays.
I have been solving these issues for 1day+. Really appreciate your help!!
Re: Open the Journal using Keyboard Buttons
These issues only happen in my level 2 and 3, in my level 1 game, everything is fine. I have even compared the assets in both levels, but nothing much difference.
Re: Open the Journal using Keyboard Buttons
Hi,
On the Dialogue Manager (or wherever the Input Device Manager component is), set the Input Device Manager's Input Mode to Mouse. It defaults to Joystick.
Then tick Always Auto Focus.
These 2 changes may fix the issues you described.
On the Dialogue Manager (or wherever the Input Device Manager component is), set the Input Device Manager's Input Mode to Mouse. It defaults to Joystick.
Then tick Always Auto Focus.
These 2 changes may fix the issues you described.