Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Winning Logic | Gameplay Logic
Unreal Engine FPS Game

Winning LogicWinning Logic

In this chapter we will take yet another step towards finishing up the game by creating the Winning blueprints once the conditions. In addition, in the video below, I have also added a crosshair to the HUD widget so aiming is easier.

In the previous chapter, we set up the logic for winning the game and as we saw in the video, we just used a PrintString to make sure that our code is working as it should. Now, we want to make a new function in the GameMode that we can call instead of PrintString. This function sets the input mode to UI only, creates WPB_Winning and pauses the game.

In addition to this, we want to make sure that once we reopen the FirstPersonMap, we set the input mode back to Game Mode Only. We do this in our level blueprint.

Everything was clear?

Section 6. Chapter 2
course content

Course Content

Unreal Engine FPS Game

Winning LogicWinning Logic

In this chapter we will take yet another step towards finishing up the game by creating the Winning blueprints once the conditions. In addition, in the video below, I have also added a crosshair to the HUD widget so aiming is easier.

In the previous chapter, we set up the logic for winning the game and as we saw in the video, we just used a PrintString to make sure that our code is working as it should. Now, we want to make a new function in the GameMode that we can call instead of PrintString. This function sets the input mode to UI only, creates WPB_Winning and pauses the game.

In addition to this, we want to make sure that once we reopen the FirstPersonMap, we set the input mode back to Game Mode Only. We do this in our level blueprint.

Everything was clear?

Section 6. Chapter 2
some-alt