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
603
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
140
Reaction score
203
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 Profile Posts

To composers out there, what are atleast 4 instruments overall I need to have to make my music not feeling empty? I'm here stuck trying to make my own battle music but it kinda sounds... Not intense?
My computer broke yesterday, so no RPG maker for at least a week until I can get it repaired. :(
Just wanted to share how my game won 1st place in a game jam for itch.io. Everyone else used Unreal, Unity, GMS2, Godot, etc but I used RPG Maker 2003 :guffaw: It just shows that you can create a good game and it doesn't matter which engine you use
Working on cutscenes~

if your game is the first (or ONLY) in a series and still has a colon in its title, you are a bad person and I hate you...... jk.

who could ever hate BETWEEN: TWO SOULS?

Forum statistics

Threads
107,405
Messages
1,029,444
Members
139,504
Latest member
lobsterknees
Top