Hey
I was just looking for a way to restore the health of a brush, which I wanted to function as a shootable trigger. Any pointers on how to do that?
Well I stumbled over the setdamagable script command. A forum search only revealed a post by sock about what they were thinking about putting in the ET documentation.
Tank related commands
setdamagable <targetname> <0|1>
Set damagable status of target entity.
I thought I’d seen a map where it was used, but a search of the 6 ET maps gave nothing. Then it suddenly came to me, does this script command set who can inflict damage on a target? It sound like it. Does anybody know for real?
It would make a fun map if two teams both could have the tank/truck/boat, and the only way for the opposing team to stop them would be to destroy the tank, repair it and try to protect it. Sort of a tug-of-war (?).
BTW, is anybody doing an escort-the-chair map?
Back to my shootable trigger. I’m currently using a func_explosive with a health key of 9999. In the ‘pain’ event part of the script I use ‘constructible_health 9999’ to reset the health, and it works.
