Showing monster health on HUD?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
body_cleaner666
Posts: 7
Joined: Thu Aug 03, 2023 7:02 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: Intel (Modern GZDoom)
Location: Russian Federation

Showing monster health on HUD?

Post by body_cleaner666 »

Good day to everyone. I'm interested how to write or create a script which allows to see how much health a monster has (have plans to see at least for my custom monsters).. my script knowledge sucks, to be honest, but also I'm trying to use less other custom mods/addons to my project, so yes, no needs in other mods. I'm fine at least just to see the name and health points of the monster.
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Showing monster health on HUD?

Post by ramon.dexter »

Zdoom wiki is wonderful resource:
https://zdoom.org/wiki/Health_Point_Bar

I'll try to dig out my old acs scripting regarding this topic.
Post Reply

Return to “Scripting”