Indicator Event

The Indicator Event behavior triggers on a specific event for a health bar or life indicator. When triggered, the behavior outputs the object ID, the current indicator value and how much the indicator changed by.

 

Event Type Description
On Empty

Trigger an event when the life indicator or the health bar is empty.

On Full

Trigger an event when the life indicator or the health bar is full.

On Condition

Trigger an event once the life indicator or the health bar meets a specified condition. For example, you can have the behavior trigger an event when the health bar is under or equal to 50% - note that if the life indicator is already below 50%, it will not trigger again.

On Change

Trigger an event when the value of the health bar or life indicator changes.

On Increase

Trigger an event when the value of the health bar or life indicator increases.

On Decrease

Trigger an event when the value of the health bar or life indicator decreases.

 

Example: Game Over
When the player reaches 0 health, the level restarts.

5E9C066A-1675-4D01-B433-991A9C4A5EF9.png

0 Comments

Article is closed for comments.