Judging by the fact that there is an event WorldLineDamaged here https://zdoom.org/wiki/Events_and_handlers, it should be possible to make a line that is not triggered by the simple fact that it was shot at, but a line with a certain amount of hit points. However I could not find further information about it. Could anyone please tell me how to go about it?
Currently I work with maps in Heretic format and just use the line special that simply activates the line when it is shot to open the respective "ice" door. But I'm going to migrate to UDMF sooner or later, and for future reference would like to know whether the following can be achieved:
What I want is to make "ice doors" that can be shattered but only after receiving some amount of damage. And immune to ice damage, so damage type should be taken into account. I thought about just using a solid actor with a parallelepiped model which I would place where the supposed wall/door should be. But that would require finding or making this model (and I haven't done any modelling yet) and scaling it with great precision to avoid having cracks between the supposed "door" object and the actual walls. Or is it still the best way to take?