OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gwg-striker on 24 Feb 2003, 12:56:29

Title: Disable 3rd person view in mission
Post by: gwg-striker on 24 Feb 2003, 12:56:29
Hello,

I wonder whether there is a way or command to disable 3rd person view in a mission. I know it can be set on the server, but want to disable it permanently

Thx in advance,

[GWG] Striker,
a.k.a. Frans
Title: Re:Disable 3rd person view in mission
Post by: MorMel on 24 Feb 2003, 15:22:20
player SwitchCamera "EXTERNAL"
and then
player SwitchCamera "FIXED" ??? ??? ?? ??

I'm not sure, i've never tried this... :(
Title: Re:Disable 3rd person view in mission
Post by: gwg-striker on 24 Feb 2003, 16:53:48
Hi MorMel,

thx for the reply, alas it doesn't work, there is no 'FIXED' value. Also, I would have to use 'INTERNAL' in stead of external.

Well, it's one step closer, now just find out how to lock the camera.
Title: Re:Disable 3rd person view in mission
Post by: toadlife on 24 Feb 2003, 21:52:07
This should do the trick for you. I havn't tried this, but I see no reason why it shouldn't work.

Create a script like so..

Code: [Select]
#loop
player switchcamera "internal"
~0.01
goto "loop"

..and execute it from your init.sqs file like so...

[] exec "thisscript.sqs"

EDIT: Let me know if this works. If it does please click the 'solve' button. This would make a nice FAQ item for the Ed Depot.
Title: Re:Disable 3rd person view in mission
Post by: gwg-striker on 13 Mar 2003, 11:12:53
OK,

thanks, I'll test it and let you know.
Title: Re:Disable 3rd person view in mission
Post by: wi77ard on 13 Apr 2005, 17:44:43
anyone wishing to disable 3rd person on a server try this link

http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=6c34184831b95c2f01f854f55576c4a2;act=ST;f=2;t=31702;hl=3rd+person (http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=6c34184831b95c2f01f854f55576c4a2;act=ST;f=2;t=31702;hl=3rd+person)