mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
a4258f3587
* Viewports * Support mem-points * Update CfgVehicles.hpp * Add some docs * Cleanup Debugging * Update addons/viewports/dev/debugPoints.sqf Co-authored-by: Dystopian <sddex@ya.ru> * Update addons/viewports/dev/debugPoints.sqf Co-authored-by: Dystopian <sddex@ya.ru> * Update addons/viewports/functions/fnc_eachFrame.sqf Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> * configProperties / 3den macro * Update viewports-framework.md * Update viewports-framework.md * Add compats for rhs btrs * Update addons/viewports/dev/debugPoints.sqf Co-authored-by: Drofseh <Drofseh@users.noreply.github.com> Co-authored-by: Dystopian <sddex@ya.ru> Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: Drofseh <Drofseh@users.noreply.github.com>
29 lines
578 B
Plaintext
29 lines
578 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: PabstMirror
|
|
* Cleans up existing viewport display and camera
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [] call ace_viewports_fnc_viewCleanup
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
TRACE_1("camCleanup",_this);
|
|
|
|
if (!isNull (missionNamespace getVariable [QGVAR(camera), objNull])) then {
|
|
GVAR(camera) cameraEffect ["terminate", "back", QGVAR(pip0)];
|
|
camDestroy GVAR(camera);
|
|
};
|
|
|
|
private _display = uiNamespace getVariable [QGVAR(display), displayNull];
|
|
if (!isNull _display) then {
|
|
QGVAR(display) cutText ["", "PLAIN"];
|
|
};
|