achievement_show_challenge_notifications

Show or suppress challenge notifications

Syntax:

achievement_show_challenge_notifications(receive, local, remote)


Argument Description
receive Show challenges received pop-up (true) or not (false).
local Show completed local challenges pop-up (true) or not (false).
remote Show completed remote challenges pop-up (true) or not (false).


Returns: N/A


Description

With this function you can show, or suppress, the various different "toast" pop-up notifications relating to challenges. When the arguments are set to true these messages will appear, informing the player of any local or remote challenges received as well as those challenges that have been completed, while setting them to false will suppress these notifications.


Example:

achievement_show_challenge_notifications(true, false, false);

The above code will set challenge toast notifications to be shown for received challenges only.


Back: Achievements and Leaderboards
Next: achievement_get_challenges
© Copyright YoYo Games Ltd. 2018 All Rights Reserved