12-20-2011, 08:14 PM
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
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