we need one for MZ now :elswt: shouldn't Rpg maker provide one with the engine?
how different MV JS from MZ JS?
how different MV JS from MZ JS?
this._character = character;
this._character.requestAnimation(id);
this.setWaitMode('animation');
this._character = character;
this._character.requestBalloon(id);
this.setWaitMode('balloon');
Im using "$gameActors.actor(1)" for this Example but that should work the same as using "$gameParty.leader()" or other character data.
$gameActors.actor(1).agi
// returns the agi_Value of Actor 1 in Numbers
if ($gameActors.actor(1).agi == 22) {add Stuff Here};
// thats if actor 1 has agi_Value 22..
I'm guessing the reason that they don't is that they technically already do. It's all there in the code and the community has transcribed it before so we will probably do it again. Also, it could be considered motivation to start looking under the hood, so to speak, for some of us. I just got to the point recently where I wanted to change the players movement speed based on whether or not they were on the world map so I wrote a script for it. I realized that if I'm adding a script to every move event, I should be able to write a mini plugin that accomplishes this on its own. And with some help from an amazing member of this community, I was able to do it. If I hadn't started digging around in the js files, I never would have reached to this point.
Thanks for your reply! This works when I'm using it out of battle but not in the plugin I'm using.
I don't know if there is a direct function as a shortcut, but you can get that info the same way an event gets it without scripting.
Wow, my brain must be melting. I couldn't work out to use two variables both set to map ID. Thanks for the solution.
forums.rpgmakerweb.com
Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-mz-script-call-list.46456/