mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
4b42eb4385
* Merge ST Nightvision * Cleanup * Header cleanup * Add ace setting for fog * Cleanup debug * Manual merge refuel changes * Add new setting for effect scaling * Cleanup * Use ace_common_fnc_getZoom * Fix compat inheritance changes * Fix stringtable * Add category * Tidy function headers * Replace global event with remote event
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
/*
|
|
* Author: Sniperwolf572
|
|
* Checks if one of the following common feature cameras is active:
|
|
*
|
|
* - Curator
|
|
* - ACE Spectator
|
|
* - Arsenal camera (BIS_fnc_arsenal)
|
|
* - Nexus Spectator (BIS_fnc_EGSpectator)
|
|
* - Establishing shot (BIS_fnc_establishingShot)
|
|
* - Splendid camera (BIS_fnc_camera)
|
|
* - Animation viewer (BIS_fnc_animViewer)
|
|
* - Classic camera (BIS_fnc_cameraOld)
|
|
*
|
|
* Arguments:
|
|
* 0: None <NIL>
|
|
*
|
|
* Return Value:
|
|
* A feature camera is active <BOOL>
|
|
*
|
|
* Example:
|
|
* [] call ace_common_fnc_isFeatureCameraActive
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
!(
|
|
isNull curatorCamera && // Curator
|
|
{!(GETMVAR(EGVAR(spectator,isSet),false))} && // ACE Spectator
|
|
{isNull (GETMVAR(BIS_EGSpectatorCamera_camera, objNull))} && // BIS Nexus Spectator
|
|
{isNull (GETUVAR(BIS_fnc_arsenal_cam, objNull))} && // Arsenal camera
|
|
{isNull (GETMVAR(BIS_fnc_establishingShot_fakeUAV, objNull))} && // Establishing shot camera
|
|
{isNull (GETMVAR(BIS_fnc_camera_cam, objNull))} && // Splendid camera
|
|
{isNull (GETUVAR(BIS_fnc_animViewer_cam, objNull))} && // Animation viewer camera
|
|
{isNull (GETMVAR(BIS_DEBUG_CAM, objNull))} // Classic camera
|
|
) // return
|