RPG Maker Forums

Author: Mr. Trivel


Name: Global Save Data


Version: 1.0


Created: 2016-03-31




 


What does it do?


Allows player to set and change variables that affect all saves.


 


Video:










 


How to use?






To set global variables, use the following Plugin Calls:


 



GlobalVar Set [NAME] [VALUE] - Sets variable to [VALUE]


GlobalVar Add [NAME] [VALUE] - Adds [VALUE] to variable


GlobalVar Sub [NAME] [VALUE] - Subtracts [VALUE] from value


 


[NAME] - Variable name, case sensitive


[VALUE] - Value of variable a number or true/false


 


Examples:


GlobalVar Set Glasses true


GlobalVar Set GameCompleted 1


GlobalVar Add GameCompleted 1


GlobalVar Sub GameCompleted 2


 


To check global variable in a conditional branch or somewhere else, use this code:


DataManager.getGlobalVar(NAME)


 


Example:


DataManager.getGlobalVar(Glasses)








 


Plugin: <Link: Github>


How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.


 


Terms of Use:


Don't remove the header or claim that you wrote this plugin.


Credit Mr. Trivel if using this plugin in your project.


Free for commercial and non-commercial projects.

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,033
Messages
1,018,441
Members
137,820
Latest member
georg09byron
Top