Dedicated Server and animation
by Howard Dortch · in Torque 3D Professional · 06/13/2011 (11:16 am) · 3 replies
I have some objects in the game that users will access and a door opens. Just a simple animation. When they finish, the door closes.. Any time a player logs into the game the door is always open on their client but closed on all other clients. How can I set the state of these animations on a new client login?
#2
I have no way of telling what the state of the animation is on a per client basis. I'm sure it's a bug since I have no script control over what a client sees/
06/16/2011 (9:49 am)
I guess I wasn't clear. The animations work fine when all the clients are standing there looking at the object. The problem is when a client leaves the game and comes back later. The clients that have been on see the door open, some action then the door closes. A player logs in at some later time and that client sees the door open.I have no way of telling what the state of the animation is on a per client basis. I'm sure it's a bug since I have no script control over what a client sees/
#3
06/28/2011 (6:53 am)
bump... anyone?
Torque Owner Jules
Something2Play
your function call for door open goes here for (%i = 0; %i < %count; %i++) // go through each client id { %cl = ClientGroup.getObject(%i); %client = %cl; // door animation code here for %client. }It does depend how you are doing it, if its client side or server side?