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.
//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);