Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
Original title: Lack of understanding global variables
Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Learning Javascript
Summary
Hello everybody! I need some help understanding global varaibles scope in Rpg Maker MV. I'll enunciate the problem: So, I have a global variable in my plugin file that I've set up: var enableMHUD = false;
Archived First Post
Hello everybody!
I need some help understanding global varaibles scope in Rpg Maker MV. I'll enunciate the problem:
So, I have a global variablein my plugin file that I've set up:
var enableMHUD = false;
And I've tried to access it via the game interpreter:
But an error has occured:
I'm new in scripting in Rpg Maker MV, I was more efficient with RGSS but since they replace it by JS, I'm lost . That's why I need your help young (or old whatever) scripter!
RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.
Local mirror:24626-efd25c7616434ff33e38d0109f83df1c.png SHA-256: 8ec0f8ab36a68aaa47df6981f993a06b372a97f1c0af16b3b3b4602bd5626f99 Original attachment URL: https://forums.rpgmakerweb.com/attachments/capture-png.41035/
Local mirror:24627-72bbd52af4cdffc419f7da2014a8ec63.png SHA-256: d624a7306be5e610cc60866279d646236642130eefec901a6776d24bdc1281d5 Original attachment URL: https://forums.rpgmakerweb.com/attachments/err-png.41036/
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.