Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Moderator: GZDoom Developers
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!)
- Posts: 1605
- Joined: Mon Jun 12, 2017 12:57 am
What damage return
Code: Select all
AbsorbDamage (int damage, Name damageType, out int newdamage)
I mean, it return damage that aplly directly to health or first to armor than to health? Try make indestructible armor for monster that depending of damage and damagetype or simply damage monster, or smeared it near closest wall or throw them. monster, into specific conditions.
Also, if it return negative damage, that damage will heal monster or there are take absolute value? And is there possibility use two armor at the same time (regular armor-power field)?