I was trying to make a script to force 1st person view, and i noticed that when im running or i have the weapon lowered the command just doesnt work.
Description
Description
Details
Details
- Legacy ID
- 3968844190
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
Just put this at a mission init.sqf (in a difficulty with 3rd person enabled):
while{true} do {
player switchCamera "Internal";
sleep 1;
};
Event Timeline
Comment Actions
confirmed still happens in Version: 0.77.109501
i use:
onEachFrame {
if((cameraView == "EXTERNAL" || cameraView == "GROUP") and (vehicle player == player)) then {
vehicle player switchCamera "INTERNAL";
};
};
Comment Actions
This command is also broken with respect to switching camera to a unit in a vehicle.
(gunner veh1) switchCamera 'GUNNER';
Strangely if you just pass the veh to the command it will work correctly for the driver:
veh1 switchCamera 'GUNNER';
But there is no way to switch Camera to the gunner or commander.