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

mli9mWK.png


WjgmF7O.png


Experimented with different flame colors for mood lighting.
700hours.png
Plus many hours making assets.
I'm getting close...yet, still so far to go - and I've been documenting it. Watch my streams. I'm gonna rant about the RPG maker community tonight:
DamageEvil_3.png added!
index.php

ScreenShot_9_30_2022_11_41_26.png
New Challenger has arrived for battle... the Ybox 63 X... The upper body is just basically a Sega Saturn controller, for anyone who remembers what that looks like lol. You'll fight these at the local high school area.
I'm getting better at sleeptyping. Yesterday I typed something that didn't make sense at all contextually, but was a valid without any grammar errors (and almost no spelling ones).

Forum statistics

Threads
125,691
Messages
1,172,833
Members
164,813
Latest member
3356837398
Top