Trap, Health and Damage System

Simple Pause Menu



Create widget called PauseMenu
Drag Vertical box, scale down the frame that fit the box
Add button (color as white, background color as grey, top padding 35)
image.png
Add blur background on top of vertical box, anchor full, offset right and bottom as 0, blur strength 3
image.png
Add image, anchor and offset same as above, make brush tint with 0.25 alpha, black color
image.png
On clicked button event graph
image.png
Option button BP:

After setting the option menu widget, connect as below:
image.png


Use Input Action plugin in 3rd person BP


Open Plugin setting , enhanced input
image.png
Open a folder called input action, create Input action, name as IA_PauseGame
image.png
tick below:
image.png

Create Input Mapping Context file, name as IMC_Default
Create the mapping and choose the PauseGame IA, choose Escape key as command
image.png

Back to 3rd person BP, create vairable Boolean and make the graph
NOT node typed by Not Boolean
image.png

The node above not work to me, i have to create input action and use its node from input setting:
image.png

To make mouse cursor for choosing in pause menu:

in end of input action graph, add below:
image.png
image.png

Now the mouse cursor appear both in menu and out of menu, to make it just in menu:
revise the resume btn node as below:
image.png


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.