SRD Hudmaker Several Conditions?

Pal

Dumb Alien Detective
Member
Joined
Jul 5, 2019
Messages
23
Reaction score
3
First Language
English
Primarily Uses
RMMV
So, i'm trying to make a game and i have a picture as a text box window, and i have a question.
On SRD Hudmaker, can i have several conditions on one hud object so that i can hide the hud during dialogue?
Sorry if i posted this in the wrong section, i didn't know where to post it.
 

HumanNinjaToo

The Cheerful Pessimist
Veteran
Joined
Apr 18, 2013
Messages
1,226
Reaction score
601
First Language
English
Primarily Uses
RMMV
The conditions are javascript code, so you should be able to put '&&' between two conditions and have it work. I personally have not tried to do so. Have you tried it yet yourself?
 

Pal

Dumb Alien Detective
Member
Joined
Jul 5, 2019
Messages
23
Reaction score
3
First Language
English
Primarily Uses
RMMV
The conditions are javascript code, so you should be able to put '&&' between two conditions and have it work. I personally have not tried to do so. Have you tried it yet yourself?
Will try it later.
 

Ace of Spades

Veteran
Veteran
Joined
Jan 19, 2017
Messages
138
Reaction score
199
First Language
English
Primarily Uses
I can confirm the suggested solution from @HumanNinjaToo works. You can also use more than 2 conditions. For example:
Code:
 $gameSwitches.value(3) == false &&  $gameSwitches.value(11) == false && $gameSwitches.value(14) == true
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Recent threads, and my very poor algorithm for my minimap plugin have made me face the fact that I need to review algorithms and such.

Going through Cracking the Coding Interview now. I am so excited.
Kes
I've seen a reference to a Community Lighting plugin for MZ, but cannot find it. Is it still in beta?

Todo:
Add fog of war
Add enemy indicators
Make window draggable
Optimise map drawing algorithm (5 seconds to load the map you see, so it's a... poo-poo algorithm)

Any suggestions? :kaoblush:
bleh studio hell job haha at least they like it didnt had time to do much laundry tho ;w;'....YES I DO AT LEAST TAKE A SHOWER everyday!
Ami
--- Food Ingredients ---

Hero: Since the Chef are in Hospital,we can't eat his Dish in 3 Days.
F.Mage: What we have to Eat?
M.Healer: Don't worry,we can Eat the Food Ingredients.
Hero & F.Mage
: Really?

(3 Days Later)

Chef: Hi,Guys. I'm Ba---
(Entire Party Collapse After Eat Raw Meat)
Chef: Wha...WHAT GOING ON HERE!!!!!!

Forum statistics

Threads
102,913
Messages
995,920
Members
134,363
Latest member
Wilsonliz
Top