 |
|
Senior Member
|

04-28-2016
, 10:11
Re: [TF2] How to hook hitting a building?
|
#4
|
Huh, that plugin does seem to register ontakedamage for entities, I guess I'll explore that a bit more then, in my testing though, I couldn't get any response for ontakedamage when hitting a friendly building, maybe it's because it's not taking any damage?
Edit: Yes, that's what's happening, OnTakeDamage does work for buildings, but obviously, a friendly building doesn't take damage, so I need to find a a way to feign damage on friendly buildings.
Edit Edit @Chaosxk: I didn't give your idea much merit at first but it's actually by far the best way to achieve this without doing some team owner tomfoolery, thanks for this, my plugin is almost working now.
Last edited by Blinx; 04-28-2016 at 17:35.
|
|
|
|