Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Manually add new PhotonPlayer

$
0
0
Hi all,

I am new here! Doing our first multiplayer project. Quick question.

Is it possible to 'manually'/locally add new PhotonPlayers?

Something like:

PhotonPlayer newPlayer new PhotonPlayer(false, 1, "AIPlayer");
PhotonNetwork.Add(newPlayer)?

Pretty pseudo, but I am looking into having my AI characters be more like real players without the controls.
In this case have a photonplayer class as well (so I can easily sync properties).

Thanks,
Pieter


Viewing all articles
Browse latest Browse all 15755

Trending Articles