mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
486 B
Plaintext
23 lines
486 B
Plaintext
/*
|
|
* Author: Garth 'L-H' de Wet
|
|
* Returns if the camera is external or not.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* Whether the camera is in external view or not. <BOOL>
|
|
*
|
|
* Example:
|
|
* call ace_goggles_fnc_externalCamera;
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
if (GVAR(showInThirdPerson)) then {
|
|
cameraView in ["GROUP"] || EFUNC(common,isFeatureCameraActive)
|
|
} else {
|
|
cameraView in ["EXTERNAL", "GROUP"] || EFUNC(common,isFeatureCameraActive)
|
|
};
|