Skip to main content

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

Trouble returning values inside methods

A topic by CORAIN created 43 days ago Views: 132 Replies: 1
Viewing posts 1 to 2
(4 edits)

live_result is always undefined, is anything else needed for this to work?



Edit: It seems it's not a problem with returning values, it just won't work at all 

It updates just fine, but no error is logged and just silently does nothing.

Developer(+1)

If you can reduce this to a small test project on the latest extension version, email me a copy.

function name() {} has been historically quirkier than name = function() {}, but it’s not illegal as of latest GMLive