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
How to make a player collapse?
FreshKorruption Offline
Member

Posts: 94
Threads: 27
Joined: Oct 2011
Reputation: 1
#3
RE: How to make a player collapse?

(10-21-2011, 01:51 AM)Tanshaydar Wrote: You can check the scripts written in 03_Archives level. When you pick up the third diary note, player falls on the ground. I used it.
I can't tell if this is the right script or not. It's under /*Picking the third diary activates the vision



void MapFlashbackOver()
{
//If the diary flashback is running, then need to set back some stuff when flashback is over.
if(GetLocalVarInt("DiaryFlashbackActive")==1)
{
SetLocalVarInt("DiaryFlashbackActive",0);

FadeImageTrailTo(1.2f, 2);
FadeSepiaColorTo(0.65f, 0.5f);
FadePlayerFOVMulTo(2, 0.04f);
}
}

Custom Stories

-BrastaSauce

10-21-2011, 02:23 AM
Website Find


Messages In This Thread
RE: How to make a player collapse? - by FreshKorruption - 10-21-2011, 02:23 AM
RE: How to make a player collapse? - by flamez3 - 10-21-2011, 06:16 AM



Users browsing this thread: 3 Guest(s)