SetThirdPerson multiplayer
by Adam Beer · in Torque Game Engine Advanced · 04/24/2008 (9:35 pm) · 1 replies
When you want to toggle between 1st and 3rd person view, it seems to be broken in multiplayer. I get the following error when I am in a dedicated server:
default.binds.cs: unable to find Object 'ServerConnection' attempting to call 'setFirstPerson'
I also used the connect command to connect to the dedicated server "connect("IP.IP.IP.IP:28000");", in case that is the problem. If it doesnt matter how you connect, what else could be the issue?
default.binds.cs: unable to find Object 'ServerConnection' attempting to call 'setFirstPerson'
I also used the connect command to connect to the dedicated server "connect("IP.IP.IP.IP:28000");", in case that is the problem. If it doesnt matter how you connect, what else could be the issue?
About the author
Adam is the owner of Ignition Games, an indie game and software development company.
Torque Owner Adam Beer
Ignition Games Inc.
function connect(%server) { %conn = new GameConnection(); %conn.connect(%server); }to this:
function connect(%server) { %conn = new GameConnection(ServerConnection); %conn.setConnectArgs($pref::Player::Name); %conn.setJoinPassword($Client::Password); %conn.connect(%server); }And now it works fine.