mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
c8cff6e91c
- ace_goggles_fnc_externalCamera now checks for cameras made by a BI feature
21 lines
503 B
Plaintext
21 lines
503 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. If the "showInThirdPerson" option is checked, this will always return false. <BOOL>
|
|
*
|
|
* Example:
|
|
* call ace_goggles_fnc_removeRainEffect;
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
if (GVAR(showInThirdPerson)) exitWith { false };
|
|
|
|
(cameraView in ["EXTERNAL", "GROUP"] || {call EFUNC(common,isFeatureCameraActive)})
|