OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
-
player SwitchCamera "EXTERNAL"
and then
player SwitchCamera "FIXED" ??? ??? ?? ??
I'm not sure, i've never tried this... :(
-
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.
-
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..
#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.
-
OK,
thanks, I'll test it and let you know.
-
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)