Jump to content
Sign in to follow this  
TheTranscendentOne

Understanding bis_fnc_showNotification

Recommended Posts

Hi all,

I can't seem to get bis_fnc_showNotification to work. To make things simple, all i have is:

• A custom template in description.ext

• A Flagpole placed in the mission, with an init that adds an action which fires a script;

• A script that calls bis_fnc_showNotification

description.ext

dev = "Developer";
author = "Author";
briefingName = "Briefing Name";
onLoadName = "On Load Name";
onLoadMission = "On Load Mission";
respawn = 3;
respawnDelay = 30;
disabledAi = 1;
joinUnassigned = 1;

class CfgNotifications
{
   class myTemplate
   {
       title = "My Notification";
       iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
       description = "%1";
       duration = 10;
       priority = 7;
   };

};

Flagpole Init Field

this addAction ["CreateNotification", "exampleNotification.sqf"];

exampleNotification.sqf

["myTemplate",["Creation Succeded"]] call bis_fnc_showNotictifaction;

Can anyone see anything incorrect with this method and tell me what I'm doing wrong? Thank's for any help.

Edited by TheTranscendentOne

Share this post


Link to post
Share on other sites

Maybe calling the right function would help. You have a few typos in "bis_fnc_showNotictifaction". ;)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×