get two players in a game (single player)
I am trying to get two players in a game where the player can control two separate characters on the same keyboard (similar to the game Two Brothers). I am using the basic C++ side scroller project and I am trying to make a copy of the character to make another one spawn. I tried adding another Player start, but I don't know how to link that with a second player. I am not trying to do a multiplayer game so I am unsure how to have another character in the game. Any help would be great! Thanks!
asked Jan 24 '15 at 12:03 PM in C++ Programming
Search API reference more ;]
The lest bool decides whatever to spawn and automaticlly posses pawn, if you do false you will need to do the setup for yourself. This function also returns APlayerController of new player so imidietly you can do operations on him once you call this function
Follow this question
Once you sign in you will be able to subscribe for any updates here