![]() Navigate to the Details panel, then from the Inputs category click the Add (+) button to create a New Input Parameter of Blueprint class type Character, then name it Character. In the Class Defaults, click the Open Full Blueprint Editor link.įrom the My Blueprint panel, navigate to the Event Dispatchers category and click the Add (+) button to create a new Event Dispatcher named OnPlayerDied. You will be tasked with implementing this functionality through the use of Event Dispatchers.įrom the Content Browser navigate to Content > ThirdPersonBP and double-click the ThirdPersonGameMode Blueprint to open its Class Defaults. In this example, the GameMode class is responsible for respawning the player character class when it is destroyed during gameplay. Implementing the RespawnPlayerGameMode Class Set the Restart Action Mapping key value to R. Navigate to Edit > Project Settings > Engine > Input, then from the Details panel�s Bindings category, click the Add (+) button next to the Action Mappings variable to create a new Action Mapping named Restart. These input mappings will enable the respawn functionality that you will create for your Player Character.īegin by creating a new Games > Third Person > Blueprint project named RespawnPlayer. You will start by creating a new Third Person Template and setting up input mappings from the Project Settings. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |