Mudbill
Muderator
Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation:
179
|
RE: Intro
Pretty sure there is a wakeup script somewhere around here. I see it all the time.
Basically, FadePlayerRollTo will rotate the camera. I believe 0 is normal, 90 is 90 degrees to the right and -90 is 90 degrees to the left, etc. Use that in combination with StartPlayerLookAt so that the head moves how you want it. Just place some "Look" script areas around the bed. Don't forget to time things right with AddTimer.
Use MovePlayerHeadPos to position the camera up and down on the body. I don't really use the X and Z axes for this, but you can. I generally use Y to move the camera down to begin with, then back up once the player stands up.
It takes experimentation and time to get something right. I suggest you try.
(This post was last modified: 12-31-2014, 07:53 PM by Mudbill.)
|
|
12-31-2014, 07:52 PM |
|