GlobalVariables - hikipuro/rpgmakermv_ref GitHub Wiki
グローバル変数一覧
(ver.1.6.2)
RPGツクールMVでは、次のグローバル変数が定義されています。
- 初期値: null
- 定義場所: rpg_managers.js 14行目から
| 変数名 | 型 | 説明 |
|---|---|---|
| $dataActors | Actors.json | ※1 |
| $dataClasses | Classes.json | ※1 |
| $dataSkills | Skills.json | ※1 |
| $dataItems | Items.json | ※1 |
| $dataWeapons | Weapons.json | ※1 |
| $dataArmors | Armors.json | ※1 |
| $dataEnemies | Enemies.json | ※1 |
| $dataTroops | Troops.json | ※1 |
| $dataStates | States.json | ※1 |
| $dataAnimations | Animations.json | ※1 |
| $dataTilesets | Tilesets.json | ※1 |
| $dataCommonEvents | CommonEvents.json | ※1 |
| $dataSystem | System.json | ※1 |
| $dataMapInfos | MapInfos.json | ※1 |
| $dataMap | Map000.json | ※2 |
| $gameTemp | Game_Temp | ※3 |
| $gameSystem | Game_System | ※3 |
| $gameScreen | Game_Screen | ※3 |
| $gameTimer | Game_Timer | ※3 |
| $gameMessage | Game_Message | ※3 |
| $gameSwitches | Game_Switches | ※3 |
| $gameVariables | Game_Variables | ※3 |
| $gameSelfSwitches | Game_SelfSwitches | ※3 |
| $gameActors | Game_Actors | ※3 |
| $gameParty | Game_Party | ※3 |
| $gameTroop | Game_Troop | ※3 |
| $gameMap | Game_Map | ※3 |
| $gamePlayer | Game_Player | ※3 |
| $testEvent | Event.json | ※1 Event.json もしくは Test_Event.json |
| $plugins | $plugins | プラグインの設定内容 |
- ※1: DataManager.loadDatabase()で初期化される項目
- ※2: DataManager.loadMapData()で初期化される項目
- ※3: DataManager.createGameObjects()で初期化される項目