OINC Client - Expression - Self ID
It has Self Name but not Self ID and Self ID is something you really really need to make games.
I require this to check which Player Object belongs to me.
Printable View
OINC Client - Expression - Self ID
It has Self Name but not Self ID and Self ID is something you really really need to make games.
I require this to check which Player Object belongs to me.
Your own player object should be a different object entirely than the other players. You need to assign movement and things to your own player, whereas the other players are controlled with the OINC extension and IDs.
The peer loop does not include yourself.
... generally jamie is right, but i have had instances where is was better to do it with a single instance EG. A strategy Turn based games.
So you're basically saying that we are not going to get a Self ID expression?
Perhaps you could use an alterable flag which is set if the player is controlled locally.
I don't see why this is a problem anyways.
Figured out how to do it now, I'll just check names to see who is who but I will make it so you can't have the same name as somebody else as that will cause problems.
I'll run a fastloop through the list of all players to set each active object it's aterable string for name there by linking them to each player and then set them their properties.
Quick Question: Doe's the Expression 'Channel_PeerCount( "OINC client" )' return the number of all users on the OINC Channel or just everybody else on the OINC Channel?
It returns the number of other clients connected to the channel.
Other Clients? Then i'm gonna have to use that expression + 1 or otherwise one user will be invisible.
whatQuote:
Originally Posted by dragonguy