Any way to spawn 2 different Game Objects when doing multiplayer?
Hello, I am making a multiplayer game, and I may realize the depth of this question as I go, but is it possible to spawn 2 different character prefabs into a 2-person server? Note: It does not matter which is which, not one before the other. It's Just which one each is marked as- "Explorer"- First Person-and "Guardian"- Real Time Strategy
Each are needed to do the multiplayer- Just think of this as something like Evolve- 4 hunters vs one monster, except it's 1 explorer (Think indiana jones) exploring some temple in search of mystical artifacts, where the temple is being build and monitored by the Treasure Guardian. This is Explorers.
So, getting the multiplayer to work is important- as it is the #1 point I wanted to emphasize in the game, and I wanted to get it working in the very first build. There is some single-player stuff too, but the multiplayer should be the best. Or it could be multiple explorers vs a single, beefier treasure guardian. Every Indiana Jones has a Rene Belloq.
TL;DR (This is just Laziness, but I do too) Is there a way to spawn in a specific prefab of a client on a server based on a string attribute? Thank you in advance.
Answer by Tulkas1 · Aug 19, 2018 at 10:49 PM
Just realized the differentiation between "Explorer" and "Guardian", was that I would have the Guardian always be the host, and therefore have server authority.