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.
Angerpull Offline
Member

Posts: 88
Threads: 24
Joined: Jun 2011
Reputation: 0
#5
RE: Waking up from Bed Script.

(06-27-2011, 05:45 PM)Khyrpa Wrote: 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);

Holy sh... Those are just commands to me, I do not see how I can make them function and such. Very new to scripting.

06-27-2011, 05:59 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)