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,227
Reaction score
615
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
162
Reaction score
243
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
 

Latest Threads

Latest Posts

Latest Profile Posts

Thinking of getting a mechanical keyboard, eventually! Would anyone be interested in a chill keycap-painting stream?
Walked through the rain to take pictures of an 50+ year old printing press for my students. Hope they will honor that effort xD
Can I promote my %75 OFF Creator Day Sale here, or it's against forum rules as well? :kaocry:
Tests for an alert system that spawns enemy reinforcements, as a stealth game should do :kaoswt2:
playing around animations with character sprites. having parallel events playing around with variables while also having an event have that same variable does wonders.

Forum statistics

Threads
126,908
Messages
1,182,248
Members
166,712
Latest member
Monet456
Top