OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 28 May 2005, 09:42:12
-
okay im having some troble with switch camera ive made a bmp target a game logic and then switch the camera like this
bmp1 switchcamera "Gunner"
~2
bmp1 dotarget gl2
but it doesnt show through the optics just waits at the last camera position until its told to move to its next position any suggestions?
EDIT
also i can get it to work in mission but not in my intro or outro but when i do it in mission and tell the camera to target the player (wich isright after the switch camera) the camera goes into the sea so i tried to switch the camera to External and see if that would help but no luck.
-
The switchcamera is for ingame use - for the intro you will
need the cameraeffect command.
~S~ CD
-
If you've managed to get a BMP to target a gamelogic, you're the first person who ever has...... But I suspect that you haven't which is why the BMP doesn't do anything. GLs can't be targetted.
-
it appears that i havei set the bmp to look away from the game logic and when i zoom into it it has the turret facing over to the gl so i was guessing it can plus i think i saw somewhere that gl's can be targeted it was either here of te bi frums.
also how do i use camera effect i looked in the comref but it doesnt say how to use the gunner's view just positions
-
Gamelogic's can't be targetted
But the doWatch command would work - but this would make the whole bmp turn to direction of the gamelogic
~S~ CD
-
ok cheers ill try dowatch command but if switchcamera only works in mission what is the correct camera effect, and also whats the default switch camera setting.
-
right ive solved that so far but whilst starting a new mission wich has a switch camera code in the mission so when i tell the camera to white out and exit it just ingnores me stays whited out and wont go back to the players view