Skip to main content

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

The plug in command sends loop and autounload as the strings "true" or "false", instead of true or false.

Find


    PluginManager.registerCommand(pluginName, "load", args => {

        Video.load(args.id, args.filename, {

            volume: args.volume,

            shouldMute: args.optionsMute,

            shouldLoop: args.optionsLoop, 

            shouldAutoUnload: args.optionsAutoUnload

        });

    });

and replace it with


    PluginManager.registerCommand(pluginName, "load", args => {

        Video.load(args.id, args.filename, {

            volume: Number(args.volume),

            shouldMute: (args.optionsMute === 'true'),

            shouldLoop: (args.optionsLoop === 'true'), 

            shouldAutoUnload: (args.optionsAutoUnload === 'true')

        });

    });