Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics


Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[Fixed in 1.0.26+] Live Error: "Expected a value, got in"

A topic by smbmaster99 created Apr 04, 2020 Views: 100 Replies: 2
Viewing posts 1 to 2

Hey there, I've run into a strange issue with GMLive. Everywhere else in my project that i've used the line:
if (live_call())
      return live_result;
it works perfect, but in one of my objects (the draw event of my pause menu object, specifically), GMLive doesn't work and gives the following error in the compiler window: obj_pause:Draw_0[L22,c24]: Expected a value, got in

The live_call() is called at the very beginning of the draw event in my pause object. I've been unable to figure this out. The only issue I can think of is that the pause object is not always active, and is only created (and destroyed) when the player presses the pause/unpause key. Would anyone know what the issue is?


That would mean that one of your variables (at line 22, column 23) is named "in", which is a leftover reserved word in GMLive (but not base GM). Renaming that would work, but I'll look into it for the next update.

Thank you so much!