public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
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: Global Save Data
  • Original author: Mr. Trivel
  • Original date: March 30, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/global-save-data.59665/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

Author: Mr. Trivel Name: Global Save Data Version: 1.0 Created: 2016-03-31

Archived First Post

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: Protected download


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.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

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.

Creator Claims / Removal

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.

#039#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar