Page MenuHomeFeedback Tracker

switchCamera doesnt work while sprinting or with the weapon lowered
Closed, ResolvedPublic

Description

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.

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

thrax edited Steps To Reproduce. (Show Details)Jul 15 2013, 3:49 PM
thrax edited Additional Information. (Show Details)
thrax set Category to Scripting.
thrax set Reproducibility to Always.
thrax set Severity to None.
thrax set Resolution to Fixed.
thrax set Legacy ID to 3968844190.May 7 2016, 3:30 PM
Imago added a subscriber: Imago.May 7 2016, 3:30 PM

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";

};
};

happens when unarmed as well.

The command also doesn't work when you're inside a vehicle.

+1 BIS you broke it!

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.

Kushluk added a subscriber: Kushluk.May 7 2016, 3:30 PM

Both the development and stable builds exhibit this issue.

I found this out with my sound mod too

This is still an issue.

Looks like this has been fixed in todays dev, thanks!

dazhbog added a subscriber: dazhbog.May 7 2016, 3:30 PM

Fixed in latest dev (rev 114204).

Mass-close of resolved tickets not updated in last two weeks.