I have an objective that has a tank exploding through a wall but i would like the player to be turned towards this (180 degrees)when he hits a trigger multiple,is there a nice easy way to do this?
Thanks fir any help!
Turning player this way and that!
Moderator: Moderators
Turning player this way and that!
My candle burns at both ends it will not last the night but oh my foes and oh my friends it gives a lovely light.
turn ( Float yawangle )
Causes player to turn the specified amount.
or turnlegs
buttt, it might not work, u cant guarentee the player will be looking at it after turned that ammount.
soo.
my sugestion is to use a func camera? it would look alot nicer.
or for turning. Get the angles pointing at the wall thingy and make the players viewangles match them.
Causes player to turn the specified amount.
or turnlegs
buttt, it might not work, u cant guarentee the player will be looking at it after turned that ammount.
soo.
my sugestion is to use a func camera? it would look alot nicer.
or for turning. Get the angles pointing at the wall thingy and make the players viewangles match them.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Let's assume $wall is the wall and local.player is the player.
Code: Select all
local.player face (angles_pointat local.player local.player $wall)
