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
Script Help Screen effects won't stop
Aletho Offline
Junior Member

Posts: 14
Threads: 4
Joined: Jan 2015
Reputation: 0
#4
RE: Screen effects won't stop

(02-27-2015, 10:36 PM)Neelke Wrote: I think you can reset the effects when leaving map instead. I did that in one of my maps and it worked just fine.

void OnLeave()
{
    FadeRadialBlurTo(0, 0);
    FadeImageTrailTo(0, 0);
    ChangePlayerStateToNormal();
}

That's exactly the code I had in my "void OnStart()" in the following map, but it wouldn't turn it off. I can try again with using it in the "void OnLeave()" and post the results :-)
02-28-2015, 12:17 PM
Find


Messages In This Thread
Screen effects won't stop - by Aletho - 02-27-2015, 12:26 AM
RE: Screen effects won't stop - by Darkfire - 02-27-2015, 07:44 PM
RE: Screen effects won't stop - by Neelke - 02-27-2015, 10:36 PM
RE: Screen effects won't stop - by Aletho - 02-28-2015, 12:17 PM
RE: Screen effects won't stop - by Aletho - 03-01-2015, 04:23 PM
RE: Screen effects won't stop - by Mudbill - 03-01-2015, 03:38 PM
RE: Screen effects won't stop - by Mudbill - 03-01-2015, 04:51 PM
RE: Screen effects won't stop - by Aletho - 03-01-2015, 05:15 PM
RE: Screen effects won't stop - by Darkfire - 03-01-2015, 08:57 PM



Users browsing this thread: 1 Guest(s)