(06-29-2012, 08:52 PM)FastHunteR Wrote: When in doubt, check how frictional games made it. I searched it out for you:
void FadePlayerFOVMulTo(float afX, float afSpeed);
Changes the field of view of the player. A shorter FOV will create a zoom
effect. afX - multiplier of default FOV (1 is default) afSpeed -
the speed of change between FOV's
Thanks, I saw the .hps file of the Old Archives but I couldn't make it work in mine.
I tried te script you gave me too, but I got error. I'll try something and see if it works.
Thank you once again, +1 Rep.
EDIT:
Everything is working!
The candles go off after the wind comes and the zoom is working.
There's just one problem:
I made it so the player would look at a pot plant when he steps a script area, but he doesn't look. :/
Here is the script:
That's just the part of the pot, the script has more stuff for the other functions.
I tried aswell with the StopPlayerLookAt() but didn't work too.
What am I doing wrong?