public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Is it possible to set actor HP directly, even to a variable?

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Is it possible to set actor HP directly, even to a variable?
  • Original author: BrandyMoon
  • Original date: July 3, 2019
  • Source thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-set-actor-hp-directly-even-to-a-variable.110627/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support

Summary

I'm looking for a way to change HP based on a the specific suit/armor my character wears, which is decided by a variable determining which one they have equipped. That armor also has different states (Worn, new, damaged) which changes the variable amount as well. I'd like the HP to automatically be changed and updated with it depending on if you take it off or put it back on. This doesn't have anything to do with actual system equipment or armor since it's all handled by different variables. Is there...

Archived First Post

I'm looking for a way to change HP based on a the specific suit/armor my character wears, which is decided by a variable determining which one they have equipped. That armor also has different states (Worn, new, damaged) which changes the variable amount as well. I'd like the HP to automatically be changed and updated with it depending on if you take it off or put it back on. This doesn't have anything to do with actual system equipment or armor since it's all handled by different variables.

Is there a way to set HP to a variable in MV?
I've tried the simplest ways like
$gameActors.actor(1).hp = $gameVariables.value(22)

but it doesn't seem to work. There are obvious ways to add or subtract an amount to the actor's HP, but I don't want to add or minus, I want it precisely set to a number I choose.

Protected download

Is there any actual way to do this? I'm a little lost here.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Set HP.PNG
Set HP.PNG
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#mv-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar