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
course content

Course Content

Unreal Engine FPS Game

Unreal Engine FPS Game

1. Unreal Engine Introduction
2. The Character Blueprint
3. Enemy Blueprints
4. Level Design and Aesthetics
5. User Interface and Sound Effects
6. Gameplay Logic
7. Packaging for Windows

bookWinning 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?

How can we improve it?

Thanks for your feedback!

Section 6. Chapter 2
some-alt