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
52
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 Profile Posts

unintentionally made a track that sounds straight out of Yume Nikki
Revisiting one of my older projects in a long time to work some more on the mechanics. I've been working on- and off-again for about a year now on recreating the Force and Mystic systems from Wild ARMs. And I think I've finally made some good breakthroughs on that!

Still, it is not perfect and I may post my thoughts at a later time to see if there are any other suggestions or alternatives I've missed.
actor name string, why you gotta be case sensitive like that?
Doing RPG Maker News for 26th October 2021

My entire world, full of monsters and treasures, will likely be done by the end of the year. After that it's all NPCs and side quests... then done. I'm never making an open world game again xD

Forum statistics

Threads
116,103
Messages
1,095,802
Members
151,493
Latest member
xuincy
Top