MV SRDude HUD Maker Question

This is for the MV Hud Maker. Couple questions:

QUESTION 1:
I'm slowly learning JS coding and everything. Slowly LOL What I'd like in my game, however, is a code that will show just a simple text on my hud for your character's map name. I'd like it to update on my hud as you enter new locations, etc. So far I know you need to put it in this format:

${$gameParty.gold()}

I know a few others for party leader, HP, MP, etc. However; I cannot figure out if there's a way to display the Map Name. I figured I could type something that would just pull whatever I have entered under "Name" in that particular map's General Settings. Is this possible? If so... what would be the exact coding for this?

QUESTION 2:
I was also curious if there's a way to have the condition for a switch be multiple switches?

$gameSwitches.value(3)

I've tried many combinations, and I cannot figure out if you can use more than one switch before that condition will activate. Essentially, I have your hud update as you progress the story with new information, so I'd like certain parts of the hud to show up after several conditions are met. In my case... I just need it to show up when 2 switches activate.

Thanks in advance 🙂
What I'd like in my game, however, is a code that will show just a simple text on my hud for your character's map name.
$dataMapInfos[$gameMap.mapId()].name should return the name of your current map.
I was also curious if there's a way to have the condition for a switch be multiple switches?
The conditional AND is &&. so $gameSwitches.value(3) && $gameSwitches.value(5)
@ATT_Turan
this script call of course will show map name, but not game map name, but name from editor.

$gameMap.displayName() will show game map name (if it set in map properties)
$dataMapInfos[$gameMap.mapId()].name should return the name of your current map.

The conditional AND is &&. so $gameSwitches.value(3) && $gameSwitches.value(5)
Thank you so much for your help with this. That all worked perfectly! Appreciate it!

@ATT_Turan
this script call of course will show map name, but not game map name, but name from editor.

$gameMap.displayName() will show game map name (if it set in map properties)
This works great too. I might actually use the Display name... that way the Map Name can still have my #/order they're in, etc.

Thank you both for your help. This has been resolved! 🙂
SRDude created a plugin called Auto Updater for MV. Someone here knows If he created for mz?
i once made a little list of js code for the srd hudmaker which is in my signature spoiler.. ill copy it into this posting, perhaps that might be helpfull aswell


The Scriptcalls i used for the SRD HudMaker
(most code is made for actor1 but that can be easyly changed for other actors numbers aswell)

Spoiler: Script info for SRD HUDs
Actor current HP:
Code:
$gameActors.actor(1).hp

Actor Max HP:
Code:
$gameActors.actor(1).mhp

Actor current MP:
Code:
$gameActors.actor(1).mp

Actor Max MP:
Code:
$gameActors.actor(1).mmp

Actor current TP:
Code:
$gameActors.actor (1).tp

Actor current LV:
Code:
$gameActors.actor(1).level

Actor Name:
Code:
$gameActors.actor(1).name()

Actor Total current EXP:
Code:
$gameActors.actor(1).currentExp()

Actor current LV EXP:
Code:
Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Actor Max EXP of current LV:
Code:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Actor EXP to Next LV (=> Actor Max EXP of current LV - Actor current LV EXP):
Code:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp()) - Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Needed in Text HUD in order to use script code where X is:
Code:
${X}

Script code to put in "Condition" :
For switches:

Code:
 $gameSwitches.value(x) == true
For variables:
Code:
For variables: $gameVariables.value(x) == n


Script code for Variable (this one is Variable "50" )
Code:
$gameVariables.value(50)
i once made a little list of js code for the srd hudmaker which is in my signature spoiler.. ill copy it into this posting, perhaps that might be helpfull aswell


The Scriptcalls i used for the SRD HudMaker
(most code is made for actor1 but that can be easyly changed for other actors numbers aswell)

Spoiler: Script info for SRD HUDs
Actor current HP:
Code:
$gameActors.actor(1).hp

Actor Max HP:
Code:
$gameActors.actor(1).mhp

Actor current MP:
Code:
$gameActors.actor(1).mp

Actor Max MP:
Code:
$gameActors.actor(1).mmp

Actor current TP:
Code:
$gameActors.actor (1).tp

Actor current LV:
Code:
$gameActors.actor(1).level

Actor Name:
Code:
$gameActors.actor(1).name()

Actor Total current EXP:
Code:
$gameActors.actor(1).currentExp()

Actor current LV EXP:
Code:
Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Actor Max EXP of current LV:
Code:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Actor EXP to Next LV (=> Actor Max EXP of current LV - Actor current LV EXP):
Code:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp()) - Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Needed in Text HUD in order to use script code where X is:
Code:
${X}

Script code to put in "Condition" :
For switches:

Code:
 $gameSwitches.value(x) == true
For variables:
Code:
For variables: $gameVariables.value(x) == n


Script code for Variable (this one is Variable "50" )
Code:
$gameVariables.value(50)
OMG! Yes, this is exactly what I need. Now my possiblities are endless 😂and I don't need to keep asking questions. Thank you for this. Bookmarked this thread to use in the future. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/srdude-hud-maker-question.139539/