- Jul 8, 2022
- Reaction score
- First Language
- Primarily Uses
what a great resource! thank you
Wait this is so useful if I want to make a custom battle system plugin! Is it or am I interpreting it wrong?This Script Call list applies to both RPG Maker MV and RPG Maker MZ.
Link here to see the entire list.
Supplementary Material for RPG Maker MZ:
RPG Maker MZ Script Call Reference A collection of data and script calls for certain functions of RPG Maker MZ. Supplementary Material: Most of the script calls found in RPG Maker MV also works. If you want samples and notes to compare side by side. Please visit this topic...forums.rpgmakerweb.com
Have fun eventing~
not exactly.if I want to make a custom battle system plugin! Is it or am I interpreting it wrong?
$gameMap.mapId() === 17
$gameParty._gold >= $gameVariables.value(id)
◆Control Variables：#0004 = Gold ◆Control Variables：#0005 = 20 ◆If：#0004 ≥ #0005 ◆Text：None, None, Window, Bottom ： ：You have at least \v gold! ◆ ：Else ◆Text：None, None, Window, Bottom ： ：You need \v gold to pass. ： ：You currently have \v. ◆ ：End
$gameParty.gold()(1st entry in the Inventory section of the script call list) should work A-OK and ought to be a better option than a raw value reference like
_gold. I.e. "does the party have at least as much gold as the current value of variable ID 123?":
$gameParty.gold() >= $gameVariables.value(123);
$gameParty.gold()is the standard core script reference for the party's gold total, so it should be returning the correct value.