After I open my inventory which also shows the cursor and stops player Input,I no longer can close the Inventory, I DO HAVE IT SET TO GAME AND UI MODE so it should work and IT DID work before something broke.
Inside - Character_BP
(Character Inventory posted by iNiKKo | blueprintUE | PasteBin For Unreal Engine)
Inside - The Widget
(Widget BP posted by iNiKKo | blueprintUE | PasteBin For Unreal Engine)
If you’ve disabled input, how can I press ‘I’ again to close the inventory?..
Before something broke this worked, Input mode is set to game and UI it should still let me use keys and UI and then Disable input disables movement.
anyway if i am wrong then feel free to help me out , what should i change or how can i fix it …
Remove this for now
Widget posted by iNiKKo | blueprintUE | PasteBin For Unreal Engine
This is how it looks like, this fixes the Show & Hide Widget BUT the character can move and mouse also moves the camera, i know about Disable movement Node but there is no Enable Movement Node.
I don’t think there’s a simple answer to this. What I did in the end, was adjust the code in the character, so when I set a bool, the character can’t move anything.
Another way, is to pause and unpause the game ( you have to unpause from the widget )
Another, is the unpossess the player and re-possess
With this i managed to Stop character movement and look input BUT
now i have another issue and that is the Crouch / Jump button still work,
i think i have a work around with booleans but if you know better way let me know.
Unpossess will do it…
I can’t Pause the game as I need it to be Realtime,
The Possession would be nice but without the player camera I can’t drop items so would also not work,
okay this is how if fixed it
Part 1
(Working Hide & Show Widget ( part 1 ) posted by iNiKKo | blueprintUE | PasteBin For Unreal Engine)
Part 2
(Working Hide & Show Widget ( part 2 ) posted by iNiKKo | blueprintUE | PasteBin For Unreal Engine)
Part 3
(Working Hide & Show Widget ( part 3 ) posted by iNiKKo | blueprintUE | PasteBin For Unreal Engine)