# ExistentGameModeBase

## Overview

This class extends the GameModeBase of unreal engine. Its main purpose is to set the player pawn classes of each HMD equipped player as they connect to the session. If you need each player to be represented by a different pawn this is a quick and easy way to do it.

## How to use

Add the desired pawn names to the “Existent Player Pawn Classes” Map, which can be found by opening the ExistentGameModeBase Blueprint, under the Classes section.  The name key is used to identify the class in the inspection panel should you wish to change a players pawn class during a session.

If more players join than there are entries in the map then the ‘extra’ players will spawn as whatever is set as the default pawn class.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.existent.com/documentation/resources/classes-components/existentgamemodebase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
