2015-04-10 19:48:18 +00:00
|
|
|
/*
|
|
|
|
* Author: Sniperwolf572
|
2015-08-08 19:51:24 +00:00
|
|
|
* Checks if one of the following common feature cameras is active:
|
2015-04-10 19:48:18 +00:00
|
|
|
*
|
2015-08-08 19:51:24 +00:00
|
|
|
* - Curator
|
|
|
|
* - ACE Spectator
|
2015-04-10 19:48:18 +00:00
|
|
|
* - Arsenal camera (BIS_fnc_arsenal)
|
|
|
|
* - Establishing shot (BIS_fnc_establishingShot)
|
2015-08-08 19:51:24 +00:00
|
|
|
* - Splendid camera (BIS_fnc_camera)
|
|
|
|
* - Animation viewer (BIS_fnc_animViewer)
|
|
|
|
* - Classic camera (BIS_fnc_cameraOld)
|
2015-04-10 19:48:18 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-08-08 19:51:24 +00:00
|
|
|
* 0: None <NIL>
|
2015-04-10 19:48:18 +00:00
|
|
|
*
|
2015-08-08 19:51:24 +00:00
|
|
|
* Return Value:
|
|
|
|
* A feature camera is active <BOOL>
|
2015-04-10 19:48:18 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2015-08-08 19:51:24 +00:00
|
|
|
* [] call ace_common_fnc_isFeatureCameraActive
|
2015-04-10 19:48:18 +00:00
|
|
|
*
|
2015-09-19 20:27:23 +00:00
|
|
|
* Public: Yes
|
2015-04-10 19:48:18 +00:00
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-08-08 19:51:24 +00:00
|
|
|
!(
|
|
|
|
isNull curatorCamera && // Curator
|
2017-06-21 13:34:10 +00:00
|
|
|
{!(GETMVAR(EGVAR(spectator,isSet),false))} && // ACE Spectator
|
2015-08-08 19:51:24 +00:00
|
|
|
{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
|
2015-09-19 20:27:23 +00:00
|
|
|
) // return
|