Blockland Forums > Modification Help

Client viewing through the eyes of a other client.

Pages: (1/1)

Desolation:

Due to a recent Hard-Drive crash I lost a part of my script. I just coded this yesterday but I can't get it to work again for the life of me.

With the following code the "vic" is able to see through my eyes but upon clicking/jumping/calling onTrigger it sets the camera back to normal. I'm guessing that I need to block the inputs for the player but I can't figure out the correct variables to do so.

--- Code: ---      
//vic is the player hit by a projectile.
//client is the client firing the projectile
%vic.client.camera.setMode("Corpse",%client.player);
%client.player.setControlObject(%vic.client.camera);

--- End code ---


Pages: (1/1)

Go to full version