BIS fnc showNotification – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "Some of the pre-built notification templates for tasks: class TaskAssigned { title = "$STR_A3_CfgNotifications_TaskAssigned_0"; iconPicture = "\A3\ui_f\data\map\mapcontr...")
 
No edit summary
Line 1: Line 1:
Some of the pre-built notification templates for tasks:
Some of the pre-built notification templates for tasks:


<code>
class TaskAssigned
class TaskAssigned
{
{
Line 46: Line 47:
sound = "taskUpdated";
sound = "taskUpdated";
};
};
</code>


Might be of use?
Might be of use?

Revision as of 22:21, 1 March 2014

Some of the pre-built notification templates for tasks:

class TaskAssigned { title = "$STR_A3_CfgNotifications_TaskAssigned_0"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; description = "%2"; priority = 5; sound = "taskAssigned"; }; class TaskCreated: TaskAssigned { title = "$STR_A3_CfgNotifications_TaskCreated_0"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_ca.paa"; priority = 5; sound = "taskCreated"; }; class TaskSucceeded: TaskAssigned { title = "$STR_A3_CfgNotifications_TaskSucceeded_0"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIconDone_ca.paa"; priority = 6; color[] = {0.7,1.0,0.3,1.0}; sound = "taskSucceeded"; }; class TaskFailed: TaskAssigned { title = "$STR_A3_CfgNotifications_TaskFailed_0"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_ca.paa"; priority = 6; color[] = {1.0,0.3,0.2,1.0}; sound = "taskFailed"; }; class TaskCanceled: TaskAssigned { title = "$STR_A3_CfgNotifications_TaskCanceled_0"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_ca.paa"; priority = 6; color[] = {0.7,0.7,0.7,1.0}; sound = "taskCanceled"; }; class TaskUpdated: TaskAssigned { title = "$STR_A3_CfgNotifications_TaskUpdated_0"; priority = 4; sound = "taskUpdated"; };

Might be of use?