SetPlayerOrientation

Moderator: GZDoom Developers

Post Reply
metroid014
Posts: 112
Joined: Mon Aug 03, 2009 8:36 pm

SetPlayerOrientation

Post by metroid014 »

I doubt this will be made but would it be possible to make an ACS command that would set the players view orientation to a predetermined angle, however not so it just makes you face one direction. So it makes you face that direction and straight forward. Like if I do [wiki]Teleport_NoFog[/wiki](tid,1,tag) it will set the orientation to the direction, however if I am looking straight down I will still be looking straight down when I teleport. So the point of this suggestion is to suggest a command that sets your view angle and keeps it looking straight forward.

Id imagine it to be like this:
SetPlayerOrientation(angle,straightforward)
Angle: Angle you want to set
Straightforward: 1 makes you face straight forward, 0 preserves the up and down angle.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Re: SetPlayerOrientation

Post by Zippy »

You can just use [wiki]SetActorAngle[/wiki] and [wiki]SetActorPitch[/wiki], unless I'm missing something...?
metroid014
Posts: 112
Joined: Mon Aug 03, 2009 8:36 pm

Re: SetPlayerOrientation

Post by metroid014 »

Im dumb... Sorry for the waste of a topic :(.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”