PDA

View Full Version : How to reduce the viewing angle?



Moczulak
18th April 2013, 08:40
Hey.
How to reduce the viewing angle?
I'm talking about turning his head, would reduce the viewing angle, so I could not look back.
How do it ??

Ni3ls
18th April 2013, 09:33
You mean as a player? Or as a model?

Moczulak
18th April 2013, 10:39
As a player :P

Ni3ls
18th April 2013, 11:02
I dont think thats possible

Moczulak
18th April 2013, 11:18
Why ? Somewhere I've seen something like this...

Tally
18th April 2013, 11:42
The only thing I can think of is


self setPlayerAngles( <angle> );

You would have to loop that on the player as long as you want to restrict their viewing angles. If I remember rightly it isn't that effective. But it's been a long time since I've used the function.

IzNoGoD
18th April 2013, 21:25
Also possible: limiting the player's angles while he's on a machine gun (mg42). Just spawn a MG42 and use the appropriate commands to limit its maximum angle