Hi again, while I was working on my mod, I tried to do a script for a secondary "resistance" or "armor" bar without success, and I need to know if it's possible:
My general idea is that some special enemy attacks would damage that resistance bar first. That is, the attack will damage the resistance bar (like the "hurt" script but only to that bar, but I don't know if I can call a script in the middle of a different script this way). Then, after the "Resistance" bar depletes fully, the player will take heavy damage (maybe without remap) and the "resistance" bar will reset completely.
Anyone knows how to do this? Sorry if this is not clear enough, I know it's hard to answer noob questions like the ones from mine. Thanks anyway, stay safe, and...as some beat'em up hero said: Happy Rampaging!
My general idea is that some special enemy attacks would damage that resistance bar first. That is, the attack will damage the resistance bar (like the "hurt" script but only to that bar, but I don't know if I can call a script in the middle of a different script this way). Then, after the "Resistance" bar depletes fully, the player will take heavy damage (maybe without remap) and the "resistance" bar will reset completely.
Anyone knows how to do this? Sorry if this is not clear enough, I know it's hard to answer noob questions like the ones from mine. Thanks anyway, stay safe, and...as some beat'em up hero said: Happy Rampaging!