Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Can local variables only operate with global variables

$gameVariables.value(1)=$gameVariables.value(2)- localVariable(this._eventId, 'Water')

LocalVariable of an event can be accessed so you can use other things with it, but due to rarely anyone use global + local so I haven't made an easy way to access that. So let's say, currently, localVariable can't be combined with global variable like that.

(+1)

Thank you for your patient answer