Changing views

Topics regarding Scripting with Reality Factory
Post Reply
Danimita92
Posts: 335
Joined: Sat Feb 09, 2008 5:47 pm
Location: Lanzarote/Canary Islands/Spain

Changing views

Post by Danimita92 »

Hi, in my game I would like to be able to aim in a certain way. For example, have a third person player that can't shoot. Then if the player presses a certain key (Shift, for example) the game changes to a first person view with my player's top part of the body as a weapon actor, wich will be apparently aiming up and down depending on where you aim. Then when the player stops pressing the "Aiming button" to return to the third person view. I'm kind of basing this on Resident Evil 4.
Is this possible? Would I need a normal player or a scripted player?
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Re: Changing views

Post by darksmaster923 »

oh thats like metal gear. well you can use this
SwitchView(int View);
and disable weapons etc. use a var like VIEW is false but when you switch to first person VIEW is true and you can use guns
Herp derp.
Danimita92
Posts: 335
Joined: Sat Feb 09, 2008 5:47 pm
Location: Lanzarote/Canary Islands/Spain

Re: Changing views

Post by Danimita92 »

Okay, thanks.
Post Reply