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
200
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

I think I've got my hero designs pretty much finialised ( still got some tweaks. ) In the end it'll be the four outfit colour variants with four different skintones.

I'm a bit conflicted. One the one hand, it's quite visually cool to make bodies of water that the player can interact with by going into it. However obscuring the player character from a gameplay perspective is pretty bad. Hmm... There's the option to make the area around the player visible, but then that kind of defeats the purpose of submerging them. :unsure:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
Another two plugins done! One being an on map grid inventory.
busy with my newborn child, can't even touch pc at all ;_;

Forum statistics

Threads
104,295
Messages
1,005,349
Members
135,811
Latest member
napax
Top