2015-01-11 16:42:31 +00:00
|
|
|
/*
|
2015-02-02 09:04:53 +00:00
|
|
|
* Author: Garth 'L-H' de Wet
|
|
|
|
* Returns if the camera is external or not.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Return Value:
|
2015-09-29 16:51:24 +00:00
|
|
|
* Whether the camera is in external view or not. <BOOL>
|
2015-02-02 09:04:53 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2015-09-29 16:51:24 +00:00
|
|
|
* call ace_goggles_fnc_externalCamera;
|
2015-02-02 09:04:53 +00:00
|
|
|
*
|
|
|
|
* Public: Yes
|
|
|
|
*/
|
2015-01-18 21:50:45 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-22 22:58:11 +00:00
|
|
|
|
2016-02-04 13:04:26 +00:00
|
|
|
// Handle the ThreeDen Editor Camera
|
2016-06-26 00:16:26 +00:00
|
|
|
if (is3DEN) exitWith {true};
|
2016-02-04 13:04:26 +00:00
|
|
|
|
2015-12-27 05:31:49 +00:00
|
|
|
if (GVAR(showInThirdPerson)) then {
|
|
|
|
cameraView in ["GROUP"] || EFUNC(common,isFeatureCameraActive)
|
|
|
|
} else {
|
|
|
|
cameraView in ["EXTERNAL", "GROUP"] || EFUNC(common,isFeatureCameraActive)
|
|
|
|
};
|