win8_license_trial_version

Return the state of the Trial Play for your Windows 8 game.

Syntax:

win8_license_trial_version();


Returns: Boolean


Description

This function will return true if your game is currently in Trial Play, or false if it is not. You can use this function to block features or limit game-play while your game is on trial by the user.


Example:

if win8_license_trial_version()
   {
   global.Level_Max = 20;
   }
else
   {
   global.Level_max = 100;
   }

The above code will check the status of your game and if it is on trial Play it will set the global variable "level_Max" to 20, otherwise it will be set to 100.


Back: Windows 8
Next: win8_license_initialize_sandbox
© Copyright YoYo Games Ltd. 2018 All Rights Reserved