Code
class CfgCommunicationMenu
{
class MeldungFordern
{
text = "Funk Basis"; // Text displayed in the menu and in a notification
submenu = ""; // Submenu opened upon activation (expression is ignored when submenu is not empty.)
expression = "[Argumente] all code_fnc_meineFunktion"; // Code executed upon activation -> im Beispiel Aufruf zu deinem Script
icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\call_ca"; // Icon displayed permanently next to the command menu
cursor = "\a3\Ui_f\data\IGUI\Cfg\Cursors\iconCursorSupport_ca.paa"; // Custom cursor displayed when the item is selected
enable = "1"; // Simple expression condition for enabling the item
removeAfterExpressionCall = 1; // 1 to remove the item after calling
};
};
class CfgNotifications
{
class FunkmeldungVerfuegbar
{
title = "Neue Funkmeldung verfügbar"; // Title displayed as text on black background. Filled by arguments.
iconPicture = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\call_ca"; // Small icon displayed in left part. Colored by "color", filled by arguments.
iconText = ""; // Short text displayed over the icon. Colored by "color", filled by arguments.
description = ""; // Brief description displayed as structured text. Colored by "color", filled by arguments.
color[] = {1,1,1,1}; // Icon and text color
duration = 5; // How many seconds will the notification be displayed
priority = 10; // Priority; higher number = more important; tasks in queue are selected by priority
difficulty[] = {}; // Required difficulty settings. All listed difficulties has to be enabled
};
};
Alles anzeigen
So funktioniert das ganze, aber ich krige den Text über die descrption oder den iconText nicht in den Kasten