A downloadable tool

Buy Now3.99€ EUR or more


Version 1.0

This plugin allows you to deal damage or heal the player when they walk on or remain on a specific event.
The system works using special tags placed in the event comments.

Parameter Configuration

Damage Delay :
This parameter controls the delay between successive applications of damage or healing.
The value is expressed in frames. For example, a value of 60 corresponds to 1 second.

Adding Tags to Events

To activate this system, add a special tag in the event comments.
Here’s how to proceed:

  1. Open the event in the editor.
  2. Add a "Comment" command.
  3. Insert one of the following tags:
    • hp:-100 : Deals 100 points of damage to the player.
    • hp:+50 : Heals the player by 50 hit points.

Important : The tag must be placed in a comment within the event for it to work.

Practical Examples

Dealing Damage :

  • Create an event representing dangerous terrain (e.g., a pool of lava).
  • Add a "Comment" command with the tag hp:-20.
  • Configure the delay in the plugin parameters to determine how much time elapses between each application of damage.

Healing the Player :

  • Create an event representing a magical spring or a resting bed.
  • Add a "Comment" command with the tag hp:+30.
  • The player will automatically regenerate health as long as they remain on this event.

Important Notes

  • If the player loses all their HP, they will be sent to the Game Over screen.
  • If the player's HP exceeds their maximum, it will automatically be capped at the upper limit.



Purchase

Buy Now3.99€ EUR or more

In order to download this tool you must purchase it at or above the minimum price of 3.99€ EUR. You will get access to the following files:

ES_HPControlEvent.js 5.6 kB

Download demo

Download
ES_HPControlEvent_Demo.js 9.7 kB

Leave a comment

Log in with itch.io to leave a comment.