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
40
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
37
Reaction score
34
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 forgot that forums have profile walls that you can post or comment on, guess I found a new platform to specifically rant about game-related deranged thought or problems that I have. Salut mes amis!
I couldn't help myself, so I edited the tiles a bit and made a birdhouse :LZSsmile: I hope I will finish the town today!Screenshot 2021-09-17 134349.png
How do I find the threads I have watched? It's been so long I've forgotten :kaoswt:
So far, this is how the wall tileset its looking in-editor. :kaoswt2:
1631863283853.png
Still thinking on details to add.
Added a plugin to RMMV Plugin Releases with all relevant info but it looks like the topic wasn't approved for whatever reason. Cool.

Forum statistics

Threads
115,132
Messages
1,087,472
Members
149,637
Latest member
3hunnaz
Top