Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

spanishflee999

5
Posts
1
Topics
A member registered Jan 10, 2021

Recent community posts

Huzzah! That worked! Turns out I was missing something simple :)

Thanks for your help, and your prompt response!

Do you mean line 5 column 48 of the whole script? Or just the function?

Line 5 column 48 of the script is the end of a function declaration that comes before the function I want to edit.
Line 5 column 48 of the function is some variable declarations.

In the screenshot below, enableInventoryDeckAdders is the function I'm trying to edit.

(1 edit)

I've just installed GMLive, and trying to get it working. I was able to do so by including the following code at the start of my draw event. All well and good.

if (live_call()) return live_result;

However, I'm trying to do the same for function within a script by adding the above line as the first line called in my function, and getting the following error in the console whenever the function is called in the game:

Runtime error: [error] Couldn't find any instances of null.
 called from unknown[L5,c48]

This is true if I restart the game using the game_restart() function (this is how I get to a state to be able to run the function again in my game), which I thought might be the cause of my issue. However when I edit the function and save, I get the same error before calling it even the first time, or manually via a button press.

Of note, when I save the edited function, it seems to reload it correctly (displaying "Reloaded <function name>." in the output console).

Any ideas? Did I miss something simple?

Yep got it, thank you so much!

Hi, can I also please get an App Lab key? Thanks!