Instantiating enemies over network?

Options
Hello! Just a quick question about enemies. Right now I'm trying to instantiate enemies by using
[code2=csharp]PhotonNetwork.Instantiate("EnemyGuy", new Vector3(Random.Range(-185,-20),50,0), Quaternion.identity,2);[/code2]
The problem is that they're not instantiating. I've tried useing InstantiateSceneObject as well, with the same results.
Also, I should be the Master client, since I'm the only on in the room, and I do a check anyway.
Thanks for the help!
Bradley

Comments

  • Tobias
    Options
    There must be some kind of error message in the console.
  • I figured it out, the group id was 1, when it should have been 0. Just me being dumb. :P