Showing posts with label Variable. Show all posts
Showing posts with label Variable. Show all posts

[RMMV Plugin] Self Variables

Version: v1.00

Introduction

The RPG MV default game system has self switches data, but you may also need 'self variables' that belong to each event object like self switches do. That was inspired by RPG VX script "Rei Self Variable", which can be found at RPGMakerID forum, so that I developed this RPG MV plugin for it.

Contact me for support/bug report:

listra92@gmail.com
https://www.facebook.com/don.listRA92

Features and Usages

  • Allows self variables data to be stored in the game save data.
  • Provides easier access to self variables and switches:
    $gameSelfVariables.valueOf(eventId, 'name')
    $gameSelfVariables.setValueOf(eventId, 'name', value);
    $gameSelfSwitches.valueOf(eventId, 'name')
    $gameSelfSwitches.setValueOf(eventId, 'name', value);

    Note: The self switch names by default are 'A', 'B', 'C' and 'D', but here you can define the names by yourself.

Download Plugin

MK_SelfVariables.js