saffeine
Member
i'm throwing this into off-topic because while setting up a bunch of code, i stumbled across something that i couldn't find an answer to, but it's nothing i'll lose sleep over.
if you enter local into the code editor, gamemaker studio 2.2.5 ( and possibly other versions ) will highlight it as if it's a constant, and middle-clicking on it doesn't give me any answer, nor does searching the manual.
the first time i saw it i thought that maybe i declared a variable somewhere called local that i completely forgot about, but even after making a new test project it was there, and i still don't know what it does.
i tried passing it through a show_debug_message and draw_text function and it gives me an error saying that the variable isn't set, so i don't even have a starting point for guesses.
i even had a suspicion about it being the 'local' equivalent of the global keyword, but that didn't do anything either when i tried using it to declare a variable.
this isn't really that deep, and maybe it's just some leftover constant either from a previous build or some kind of plan for incoming features, but i'm curious to know.
does anyone actually know what this constant is / does / is used for?
if you enter local into the code editor, gamemaker studio 2.2.5 ( and possibly other versions ) will highlight it as if it's a constant, and middle-clicking on it doesn't give me any answer, nor does searching the manual.
the first time i saw it i thought that maybe i declared a variable somewhere called local that i completely forgot about, but even after making a new test project it was there, and i still don't know what it does.
i tried passing it through a show_debug_message and draw_text function and it gives me an error saying that the variable isn't set, so i don't even have a starting point for guesses.
i even had a suspicion about it being the 'local' equivalent of the global keyword, but that didn't do anything either when i tried using it to declare a variable.
this isn't really that deep, and maybe it's just some leftover constant either from a previous build or some kind of plan for incoming features, but i'm curious to know.
does anyone actually know what this constant is / does / is used for?