icecreamassassin Posted May 10, 2014 Posted May 10, 2014 How do I make the player turn around and face an object behind him? I found the code for LIMITING his/her controls but not the commands for forcing the player to look another way. I have an event that triggers after activating several keys where the room rumbles and shakes and a coffin on the floor opens and I want the player to whip around to witness it. Thanks. I poked around online but didn't have much luck finding the answer
JQdude Posted May 10, 2014 Posted May 10, 2014 You probably want to look into some of the camera control mods that allow you to turn 180deg, when walking backwards
icecreamassassin Posted May 11, 2014 Author Posted May 11, 2014 Well I could probably just look at the start of game files for "Live another life" which starts with the camera looking one way then spins it 180 degrees to face your character at the start. I was just hoping someone could give me a breadcrumb trail to follow as far as particular commands that may give a clue
IsharaMeradin Posted May 11, 2014 Posted May 11, 2014 Live Another Life starts of with a call to the character generation screen. That camera rotation to view the front of the character is part of that command and hard coded in the engine. You may want to look into SetLookAt and ClearLookAt. No idea if they will work on the player, but the player is an actor like any other NPC. You might have to disable player controls before hand then re-enable afterwards.
icecreamassassin Posted May 11, 2014 Author Posted May 11, 2014 ahhh cool, yeah that may work. I'll give it a shot, thanks
Recommended Posts