RPG Maker Forums

Actor Switches & Variables v1.2
LordValinar

Introduction
With RPG Maker MV, switches and variables are globalized - saved within the $gameSystem object. Well there might have been times when you or I required personalized switches/variables to the actor themselves (Races? Gender? Corruption count?) Well now you can!

Features
- Allows you to store a switch or variable (default max is 5,000, same as the Engine, but this can be smaller or larger depending on your project) on each individual actor! No more sharing!
- Group tagging is also available (setting a switch or variable to all party members)
- Can "toggle" switches on an actor (or party-wide) instead of setting them for quick-usage.
- More complex methods allowing you to manipulate "Input Number.." event commands for even greater possibilities!

How to Use
This is a [Core] script, and can be imported into other plugins, so you should put this plugin somewhere near the top of your plugin order as it won't override anything. NOTE: Importing is not a part of these instructions.

Once placed in and turned ON, there are four plugin parameters that can be configured. It's best to leave the maximums alone, but you can reduce them for your project. (Going over 5000 is -NOT- recommended..) The Storage parameters are optional, but if you intend to add some flexibility in your actor's variables, then feel free to assign 2 variable slots here.

After that, you're good to go! You can use the following plugin commands and script calls where necessary. The Script Calls are recommended for conditional branches within Events.

Demo
While I don't think this plugin needs a demo (it worked in the demo I tried), I can upload one if desired.

Script
The script/code is included in this post.
-- UPDATED v1.2 --

FAQ
Q: No questions yet
A: Ask and I shall answer

Credit and Thanks
- LordValinar
- Shaz (for ideas in my initial thread)

Author's Notes
TERMS OF USE: Free to use and modify for commercial and noncommercial games, with credit.

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

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.

Forum statistics

Threads
106,037
Messages
1,018,464
Members
137,821
Latest member
Capterson
Top