Jump to content
Sign in to follow this  
Pilot996

Task notifications.

Recommended Posts

How can I get the notification to appear on the screen when a task is assigned or created? It only shows up when it is succeeded.

Share this post


Link to post
Share on other sites

Be sure to use BIS_fnc_taskCreate and BIS_fnc_taskSetState. Both have global effects for all machines, no matter where they are executed. Along with that, they show notifications. Read up on how to use them by finding them in the functions viewer in the editor. Examples:

[west, "tsk2", ["Infiltrate the enemy encampment and destroy the coastal defences.", "Destroy Coastal Defences", "Destroy Coastal Defences"], (getMarkerPos "obj1"), true] spawn BIS_fnc_taskCreate;  

["tsk2","SUCCEEDED"] call BIS_fnc_taskSetState;

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  

×