Contenido del Curso
Unreal Engine FPS Game
Unreal Engine FPS Game
Winning 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.
¡Gracias por tus comentarios!