Hello there. I'm someone who has been using RPG Maker for many years, starting with XP. Currently I'm working on a project that involves the player traveling between different planets, and I wanted it to have an active HUD on the side of the screen showing the player various statistics.
I am using SumRndmDde's "HUD Maker", a plugin as a part of his "Super Tools Engine" series. It's really helpful and great plugin, and it's a lot of fun designing the HUD, however I am a little stuck on something.
(The HUD is currently an early WIP).
I'd like for there to be a way that the HUD can tell the player which location they're in at all times. The best way I can think of this, is to have text elements that have a condition to know which Map ID the player is currently on, and then show the element. I'm not too bad at using script calls (which is what the Condition item on the right requires), but sadly I can't figure out what script call to use to find the value of whatever map the player is currently on.
The only script call I know of how to implement is how to check if a certain switch is on or off, as seen in SumRndmDde's own video ($gameSwitches.value([number]). Implementing a feature where a switch is turned on or off based on where the player is would get really complex and space consuming, considering the fact that several entire planets are involved in this game, some of which can even have their own sub-regions.
Any help and advice would be greatly appreciated, thank you!
P.S. Is there also a means of checking if the player has a specific weapon or armor equipped in a script call, too? I'd like another HUD element showing what tool they have equipped.
SOLVED:
I ended up figuring it out myself with the help of a script call cheat sheet. If I want a text element to say, display "Earth", and the Earth map is has a MapID of 4, I'll put:
x = the variable I used to store the MapID.
Every single map, I'll have a parallel process store the MapID in a variable, and just read that variable for the script call.
I am using SumRndmDde's "HUD Maker", a plugin as a part of his "Super Tools Engine" series. It's really helpful and great plugin, and it's a lot of fun designing the HUD, however I am a little stuck on something.
(The HUD is currently an early WIP).
I'd like for there to be a way that the HUD can tell the player which location they're in at all times. The best way I can think of this, is to have text elements that have a condition to know which Map ID the player is currently on, and then show the element. I'm not too bad at using script calls (which is what the Condition item on the right requires), but sadly I can't figure out what script call to use to find the value of whatever map the player is currently on.
The only script call I know of how to implement is how to check if a certain switch is on or off, as seen in SumRndmDde's own video ($gameSwitches.value([number]). Implementing a feature where a switch is turned on or off based on where the player is would get really complex and space consuming, considering the fact that several entire planets are involved in this game, some of which can even have their own sub-regions.
Any help and advice would be greatly appreciated, thank you!
P.S. Is there also a means of checking if the player has a specific weapon or armor equipped in a script call, too? I'd like another HUD element showing what tool they have equipped.
SOLVED:
I ended up figuring it out myself with the help of a script call cheat sheet. If I want a text element to say, display "Earth", and the Earth map is has a MapID of 4, I'll put:
$gameVariables.value(x) == 4x = the variable I used to store the MapID.
Every single map, I'll have a parallel process store the MapID in a variable, and just read that variable for the script call.