achievement_available

Check to see if the chosen leaderboard is available.

Syntax:

GML Code Example

achievement_available()


Returns: Boolean


Description

This function will return true if the user is currently connected to the internet and the chosen leaderboard and achievement system is available, otherwise it will return false.

Example:

GML Code Example

if achievement_available() achievement_post("ach_Level1", 100);

The above code will check that the leaderboard service is available and if so, post to it.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here