Hi
I've been making an M1 Garand gun for a WWII mod Uni project Im working on
When I right click, the gun comes up to iron sights by playing an "Aim" animation, but I need the FOV (Field of view / Zoom) to be set to increase when it plays this animation
Im a noob at coding, but I managed to get it to play this aim animation using this code in m1SniperRifle.uc:
I guess I need to put in something here like newFOV = 70, but I don't know the code.... can anyone help me?
Thankyou very very much in advance
I've been making an M1 Garand gun for a WWII mod Uni project Im working on
When I right click, the gun comes up to iron sights by playing an "Aim" animation, but I need the FOV (Field of view / Zoom) to be set to increase when it plays this animation
Im a noob at coding, but I managed to get it to play this aim animation using this code in m1SniperRifle.uc:
Code:
simulated function PostBeginPlay()
{
Super.PostBeginPlay();
FireMode[1].FireAnim = 'HOLD';
}

I guess I need to put in something here like newFOV = 70, but I don't know the code.... can anyone help me?
Thankyou very very much in advance
Last edited by a moderator: