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
Waking up from Bed Script.
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#4
RE: Waking up from Bed Script.

I would suggest learning how simple timers work.
Then using these, you can pretty much do what you wanted:
important ones
FadeOut(float afTime);
FadeIn(float afTime);
FadePlayerRollTo(float afX, float afSpeedMul, float afMaxSpeed);
MovePlayerHeadPos(float afX, float afY, float afZ, float afSpeed, float afSlowDownDist);
SetPlayerRunSpeedMul(float afMul);
SetPlayerMoveSpeedMul(float afMul);
SetPlayerJumpDisabled(bool abX);
SetPlayerCrouchDisabled(bool abX);

screen effects
FadeRadialBlurTo(float afSize, float afSpeed);
SetRadialBlurStartDist(float afStartDist);
FadeImageTrailTo(float afAmount, float afSpeed);

sound effects
PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);
06-27-2011, 05:45 PM
Find


Messages In This Thread
Waking up from Bed Script. - by Angerpull - 06-27-2011, 05:27 PM
RE: Waking up from Bed Script. - by Paulpolska - 06-27-2011, 05:34 PM
RE: Waking up from Bed Script. - by Angerpull - 06-27-2011, 05:35 PM
RE: Waking up from Bed Script. - by Khyrpa - 06-27-2011, 05:45 PM
RE: Waking up from Bed Script. - by Angerpull - 06-27-2011, 05:59 PM
RE: Waking up from Bed Script. - by Kyle - 06-27-2011, 06:30 PM



Users browsing this thread: 1 Guest(s)