2015-01-11 16:42:31 +00:00
|
|
|
/*
|
2015-01-18 21:50:45 +00:00
|
|
|
fnc_ExternalCamera.sqf
|
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
Author: Garth de Wet (LH)
|
2015-01-18 21:50:45 +00:00
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
Description:
|
|
|
|
Returns if the camera is external or not.
|
2015-01-18 21:50:45 +00:00
|
|
|
|
|
|
|
Parameters:
|
2015-01-11 16:42:31 +00:00
|
|
|
Nothing
|
2015-01-18 21:50:45 +00:00
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
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.
|
2015-01-18 21:50:45 +00:00
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
Example:
|
2015-01-18 21:50:45 +00:00
|
|
|
call FUNC(ExternalCamera);
|
2015-01-11 16:42:31 +00:00
|
|
|
*/
|
2015-01-22 22:58:11 +00:00
|
|
|
|
2015-01-18 21:50:45 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-22 22:58:11 +00:00
|
|
|
|
|
|
|
if ((missionNameSpace getVariable [QGVAR(showInThirdPerson), 0]) == 1) exitWith { false };
|
2015-01-11 16:42:31 +00:00
|
|
|
(cameraView == "External")
|