[Question] How to make an effect like self-flashing when Life Meter is Hot or Danger?

Fot that problem. I have seen the DDR theme for 2nd. MIX or 3rd. MIX, they're both have displayed for its Life Meter in ScreenGameplay, But they have its self-flashing when Life Meter is Hot. That have got self-flashing like Danger in DDR 3rd. MIX. I want to display these effects in a theme. and then written for a code like of this:

However, it didn't display the effects in LifeMeter at ScreenGameplay for the code of above. Also that lua file is located in the folder at "Graphics\LifeMeterBar over". I have kept three files for "StreamDisplay danger", "StreamDisplay normal", "StreamDisplay hot" in Graphics folder. But it didn't change the StreamDisplay in Danger.

I want to ask a question. How to change the graphics or set the code for self-flashing at Hot or Danger (Like DDR 2nd. or DDR 3rd.) in "LifeMeterBar over" with the prerequisite of the files in "Graphics" folder? Also I want to display for three effects within the file for "StreamDisplay danger", "StreamDisplay normal", "StreamDisplay hot" in Danger, Normal, or Hot in LifeMeterBar.

Fot that problem. I have seen the DDR theme for 2nd. MIX or 3rd. MIX, they're both have displayed for its Life Meter in ScreenGameplay, But they have its self-flashing when Life Meter is Hot. That have got self-flashing like Danger in DDR 3rd. MIX. I want to display these effects in a theme. and then written for a code like of this:

However, it didn't display the effects in LifeMeter at ScreenGameplay for the code of above. Also that lua file is located in the folder at "Graphics\LifeMeterBar over". I have kept three files for "StreamDisplay danger", "StreamDisplay normal", "StreamDisplay hot" in Graphics folder. But it didn't change the StreamDisplay in Danger.

I want to ask a question. How to change the graphics or set the code for self-flashing at Hot or Danger (Like DDR 2nd. or DDR 3rd.) in "LifeMeterBar over" with the prerequisite of the files in "Graphics" folder? Also I want to display for three effects within the file for "StreamDisplay danger", "StreamDisplay normal", "StreamDisplay hot" in Danger, Normal, or Hot in LifeMeterBar.

So, using BeginCommand to detect lifestate, won't work because it only runs once the screen is compiled and starts. What you're looking for is LifeChangedMessageCommand, as it updates whenever the player has changed anything in their lifebar.

What I would also recommend is using HealthState, to detect the current state of the player's life. I do see that you have it running on the -2UP actor, but, again, that is using BeginCommand, which only updates once.

Also the playcommands could work on the way that is written there, but I would probably do them in MessageComands. You can also easily do a loop of this via PlayerNumber.