Jump to content
Sign in to follow this  
another123

call bis_fnc_showNotification problem since last update

Recommended Posts

Hey there community.

Got this small problem, I don't know but this command worked in game before latest update, so I don't know if I do something wrong or if it is something new that has been added when it comes down to this matter, however this command worked ingame before the update

["TaskAssigned",["","Check the compound"]] call bis_fnc_showNotification; 

This does not work in an trigger that I usually set as begining, when you are supposed to get your tasks. However it works when one task is completed and next is assigned.

I will be thankfull for any help. :)

Share this post


Link to post
Share on other sites

Looking at the function source - the first lines are:

//--- Don't show the notification on the misison start
if (time < 1) exitwith {};

You could just delay your initial task notification as:

[] spawn {
 sleep 2;
 ["TaskAssigned",["","Check the compound"]] call bis_fnc_showNotification;
};

Share this post


Link to post
Share on other sites

Okey, I can try it. Should I type it into trigger init box or should I write that in to Description.ext?

Again, thanks for help :)

Share this post


Link to post
Share on other sites
Okey, I can try it. Should I type it into trigger init box or should I write that in to Description.ext?

Again, thanks for help :)

try this.. it will show task states with icons... as in showcases..

[player, "objShootDown", ["description", "title", "marker"], objNull, false] call BIS_fnc_taskCreate;
["objShootDown", "Succeeded"] call BIS_fnc_taskSetState;

Looking at the function source - the first lines are:

//--- Don't show the notification on the misison start
if (time < 1) exitwith {};

You could just delay your initial task notification as:

[] spawn {
 sleep 2;
 ["TaskAssigned",["","Check the compound"]] call bis_fnc_showNotification;
};

that function simply doesnt work...... so... u re the best......

Share this post


Link to post
Share on other sites
that function simply doesnt work...... so... u re the best......

My bad, the correct way to call it would be (from the init line):

null = [] spawn { 
 sleep 2; 
 ["TaskAssigned",["","Check the compound"]] call bis_fnc_showNotification; 
};

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  

×