Hey peeps,
I have been playing around with a few concepts from my upcoming project. In regards to this, I have been playing with a mechanic that changes interactions based on which character is set to party leader (Done by making use of conditional branches, calling the "$gameParty.leader()._actorId === #" script, a few additional bits of Java and many headaches.)
To further this I want there to be changes to specific parts of the map depending on the current HP of the party leader. I'll give an example below, but I want to know how to set the current HP of a specific party member to be read as a variable. Or if there is another way to make this happen? (Like using a script like I did for switching leader.)
Example of use.
Bob has a max hp of 10. While walking along bob stubs his toe on a rock (-1 HP) then walks into a tree (-2 HP) then gets called a wimp by a pixie (-2 hp.... because psychic damage).
Bob now has 5 HP (50%) so dashing has been disabled until he heals.
Bob then walks into a door... (bob has an acrobatics of -7) resulting in a further -3HP, leaving him a 2 (critical health).
At 2 HP the screen has a red vignette, to signal that he is mortally wounded.
Bob finds a piece of chicken in a dungeon and eats it. (Heal to Max) Now, with 10HP everything is normal. (bar possible food poisoning from dungeon chicken).
This isn't the exact use for this... Obviously. But the principles carry over, the only difference being my game has multiple party members. But I only need the variable to read the current leader. (possibly by setting multiple variables.)
Anywho, thanks for your help once more friends.
Much love,
Mushy <3
I have been playing around with a few concepts from my upcoming project. In regards to this, I have been playing with a mechanic that changes interactions based on which character is set to party leader (Done by making use of conditional branches, calling the "$gameParty.leader()._actorId === #" script, a few additional bits of Java and many headaches.)
To further this I want there to be changes to specific parts of the map depending on the current HP of the party leader. I'll give an example below, but I want to know how to set the current HP of a specific party member to be read as a variable. Or if there is another way to make this happen? (Like using a script like I did for switching leader.)
Example of use.
Bob has a max hp of 10. While walking along bob stubs his toe on a rock (-1 HP) then walks into a tree (-2 HP) then gets called a wimp by a pixie (-2 hp.... because psychic damage).
Bob now has 5 HP (50%) so dashing has been disabled until he heals.
Bob then walks into a door... (bob has an acrobatics of -7) resulting in a further -3HP, leaving him a 2 (critical health).
At 2 HP the screen has a red vignette, to signal that he is mortally wounded.
Bob finds a piece of chicken in a dungeon and eats it. (Heal to Max) Now, with 10HP everything is normal. (bar possible food poisoning from dungeon chicken).
This isn't the exact use for this... Obviously. But the principles carry over, the only difference being my game has multiple party members. But I only need the variable to read the current leader. (possibly by setting multiple variables.)
Anywho, thanks for your help once more friends.
Much love,
Mushy <3