Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need to know how to force the player to 'lay' down when they enter the map...
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#2
RE: I need to know how to force the player to 'lay' down when they enter the map...

(03-20-2012, 10:51 PM)7thProductions Wrote: okay, so basically I've played a custom story that started with the player 'laying' down and I can't seem to find the appropriate script to do that...and since I'm new to this, the scripting really confuses me ^^'

can anyone help me?
If you want to do the lazy mans way like me you can put a script area on the start area and make it do this script right away.
{
FadeOut(0.0f);
FadeIn(5.0f);
SetPlayerSanity(1);

}

Or you can fiddle around with this here
-

MovePlayerHeadPos(float afX, float afY, float afZ, float afSpeed, float afSlowDownDist);
-
//Changes the position of the camera on the player's body.

//afX - amount along the X-axis
//afY - amount along the Y-axis
//afZ - amount along the Z-axis
//afSpeed - speed at which the change happens
//afSlowDownDist - distance at which to start slowing down (prevents the head from abruptly stopping)

and

FadePlayerRollTo(0, 0, 0);
FadePlayerRollTo(RotationSpeed, MinSpeed, MaxSpeed);

03-21-2012, 12:30 AM
Find


Messages In This Thread
RE: I need to know how to force the player to 'lay' down when they enter the map... - by Xanthos - 03-21-2012, 12:30 AM



Users browsing this thread: 1 Guest(s)