RMMV What script call to check if actor is taking damage?

dwiseman57

Merchant Prince Digital
Veteran
Joined
Jun 29, 2014
Messages
62
Reaction score
10
First Language
English
Primarily Uses
N/A
I am using SumrndmDde to make a custom battle HUD in MV. Frontview.

I want to display a picture, (e.g a lightning bolt) over my actors face when the actor is attacked.

In the "condition" field of Hud Maker, I need to put something like

Code:
BattleManager._targets._actorID==1

So that the picture will only display, if the actor ID being targeted is "1"

But it doesn't work. I'm not very familiar with JS or BattleManager so I'm not sure if I am even close.
Whats the best way of populating the "condition" on sumrndmDde Hud Maker so that my picture only shows whilst the actor is being attacked ?

Please help?

1642001339145.png
 

dwiseman57

Merchant Prince Digital
Veteran
Joined
Jun 29, 2014
Messages
62
Reaction score
10
First Language
English
Primarily Uses
N/A
Can anyone help?
 

dwiseman57

Merchant Prince Digital
Veteran
Joined
Jun 29, 2014
Messages
62
Reaction score
10
First Language
English
Primarily Uses
N/A

Latest Threads

Latest Posts

Latest Profile Posts

I officially declare today "test play day." I'm going to waste the whole day playing video games, which isn't a shock to anybody, but hopefully today I'll play my own and figure out what still needs fixin's.
Empty Bottles and Health Extenders are now a thing.
Also the Sling-Shot does damage to enemies now, but not a lot and you won't get gold from killing them that way.
ScreenShot_5_26_2022_11_36_32.png
added a Panic gauge to battle. it fills up according to your actions. each character has a different passive that activates once the gauge is full. also once full, a countdown starts and after each action taken, the gauges decreases. with each character, the decrease is different.
Genuinely considering making a thread informing people how to Google.

Forum statistics

Threads
122,164
Messages
1,146,962
Members
160,434
Latest member
SirBigSad
Top