EAP

Villager
Member
Joined
Jan 29, 2019
Messages
17
Reaction score
2
First Language
English
Primarily Uses
RMMZ
Thanks.
Yep! So in that example you'd want to see if the player has more than 5 of items 1, 2, 3, and 4.
Thanks Tested myself before you replied but got my crafting quest system working with this script.
 

Alkaline

Veteran
Veteran
Joined
Jun 30, 2020
Messages
41
Reaction score
6
First Language
English
Primarily Uses
RMMV
Would I be able to compare one variable's value with other two?

I.e. If Variable A >= Variable B and Variable A >= Variable C
Show Text: "Your variable A is greater than both B and C"
 

JorgeMaker

Veteran
Veteran
Joined
Jan 14, 2020
Messages
57
Reaction score
51
First Language
Português - BR
Primarily Uses
RMMZ
Would I be able to compare one variable's value with other two?

I.e. If Variable A >= Variable B and Variable A >= Variable C
Show Text: "Your variable A is greater than both B and C"

JavaScript:
Check.each_greater([A, $gameVariables.value(B)], [A, $gameVariables.value(C)]);
//or
($gameVariables.value(A) >= $gameVariables.value(B) && $gameVariables.value(A) >= $gameVariables.value(C));
 

Latest Threads

Latest Posts

Latest Profile Posts

I wonder if color LUTs is possible for RPG Maker. It would be game changer and can replace the not so good looking tint screen
new mechanic in battle where you can mentally erase enemies when you deplete all their MP instead HP. this gives you a special item of their "memory". it's pretty to do in battle so far.
Apparently MZ lets you preview move routes in the move route editor without having to start up test game. That could save a lot of time during development compared to MV, especially for a long game that uses a lot of event movement for cutscenes.
A repost of an old meme I had made, now with music

Forum statistics

Threads
115,861
Messages
1,093,543
Members
151,082
Latest member
ak29
Top