The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 Can't stop shake and blur.
z3akx Offline
Junior Member

Posts: 15
Threads: 4
Joined: Dec 2011
Reputation: 0
#1
Can't stop shake and blur.

Hi.

Well basicaly i want the player to walk through a spot and then the screen starts shaking and a blur.
The player then needs to "drink" a medecinepot (laudanum) to stop the shaking. And ofc i can't get it to work..

Well here is what i have to far.


void OnStart()
{
SetEntityPlayerInteractCallback("medecine", "medecinepot", true);
}


void medecinepot(string &in asEntity)
{
StartScreenShake(0, 0.0f, 0, 0.0f);
FadeRadialBlurTo(0, 0.0f);
RemoveItem("medecine");
}

Please help :-D
12-20-2011, 08:14 PM
Find


Messages In This Thread
Can't stop shake and blur. - by z3akx - 12-20-2011, 08:14 PM
RE: Can't stop shake and blur. - by Kurton - 12-20-2011, 08:43 PM
RE: Can't stop shake and blur. - by z3akx - 12-20-2011, 08:56 PM
RE: Can't stop shake and blur. - by z3akx - 12-21-2011, 03:32 PM



Users browsing this thread: 1 Guest(s)