Game Modes: Difference between revisions

From Unreal Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 9: Line 9:
<li> Player State Class </li>
<li> Player State Class </li>
<li> Spectator Class </li>
<li> Spectator Class </li>
</ol>




</ol>
These classes are called at certain events within your game or level, or provide special functionality for example
Player State Class is replicated automatically for multiplier, (If your're making a single player game it doesn't matter)
 


In The World Settings of the map you can specify a game mode
In The World Settings of the map you can specify a game mode

Latest revision as of 23:52, 5 December 2024

GameModes or GameMode is a class that the Unreal Engine utilizes for each map inside GameMode The game mode also specifies

  1. Default Pawn Class
  2. HUD Class
  3. Player Controller Class
  4. Game State Class
  5. Player State Class
  6. Spectator Class


These classes are called at certain events within your game or level, or provide special functionality for example Player State Class is replicated automatically for multiplier, (If your're making a single player game it doesn't matter)


In The World Settings of the map you can specify a game mode

If the World Settings Panel isn't showing, open your map(or select your map tab), than click on Window->World Settings


If you want to create your own game mode you can simply create a new blueprint class that inherits from GameMode