From 77c5e572ebd47c827711bffd4c0e045869a818ef Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 20 Oct 2020 18:27:23 +0200 Subject: [PATCH] removed read news function --- functions/Interactables/fn_readNews.sqf | 23 ----------------------- includes/Interactables/CfgFunctions.hpp | 1 - 2 files changed, 24 deletions(-) delete mode 100644 functions/Interactables/fn_readNews.sqf diff --git a/functions/Interactables/fn_readNews.sqf b/functions/Interactables/fn_readNews.sqf deleted file mode 100644 index 653a748..0000000 --- a/functions/Interactables/fn_readNews.sqf +++ /dev/null @@ -1,23 +0,0 @@ -/* - Author: Djeeberjr - - Description: - Adds an action to read a AAN news report. See https://community.bistudio.com/wiki/BIS_fnc_showAANArticle - - Parameter(s): - 0: OBJECT - to add the action to - 1: ARRAY - The article - - Returns: - actionID -*/ - -params ["_obj","_acticle"]; - -_obj setObjectTextureGlobal [0,"DLib\res\AAN.paa"]; -_obj addAction ["Read news",{ - params ["_target", "_caller", "_actionId", "_arguments"]; - [_arguments] call bis_fnc_showAANArticle; - -},_acticle,6,true,true,"","true",2]; - diff --git a/includes/Interactables/CfgFunctions.hpp b/includes/Interactables/CfgFunctions.hpp index 7eaee0e..77ebb75 100644 --- a/includes/Interactables/CfgFunctions.hpp +++ b/includes/Interactables/CfgFunctions.hpp @@ -1,6 +1,5 @@ class Interactables{ file="DLib\functions\Interactables"; - class readNews{}; class createTeleporter{}; class teleporterCallback{}; } \ No newline at end of file