Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ow... I started on beta 0.7.1: This feature, even

    //Custom Scripts

    custom_script = custom_limit_gauge;

    hud_script = hud_limit_gauge;

does an Code Error :(

Put this code at the start of custom_limit_gauge:

//Variables
if (!variable_struct_exists(custom_script_struct, "limit_gauge"))
    {
    custom_script_struct.limit_gauge = 0;
    }

And this code at line 8 of hud_limit_gauge:

//Variables
if (!variable_struct_exists(_player.custom_script_struct, "limit_gauge"))
    {
    _player.custom_script_struct.limit_gauge = 0;
    }