ACE3/addons/goggles/functions/fnc_externalCamera.sqf

24 lines
435 B
Plaintext
Raw Normal View History

/*
fnc_ExternalCamera.sqf
Author: Garth de Wet (LH)
Description:
Returns if the camera is external or not.
Parameters:
Nothing
Returns:
Boolean - whether the camera is in external view or not.
2015-01-22 22:58:11 +00:00
If the "showInThirdPerson" option is checked, this will always return false.
Example:
call FUNC(ExternalCamera);
*/
2015-01-22 22:58:11 +00:00
#include "script_component.hpp"
2015-01-22 22:58:11 +00:00
2015-01-30 22:19:45 +00:00
if (GVAR(showInThirdPerson)) exitWith { false };
(cameraView == "External")