Sentry Guns?

Foreverkul

L4: Comfortable Member
Apr 12, 2008
157
14
How can you either:
Destroy a sentry gun, like when an engineer builds a sentry gun and something runs into or even just bumps it.
Or make something ONLY hurt sentry guns.
Or make a sentry gun attack a target that isn't an enemy player?
 

Pseudo

L6: Sharp Member
Jan 26, 2008
319
150
One thing that I can think of would be to send "obj_sentrygun" the input "Kill" or "RemoveHealth", this would remove or damage all of the sentry guns currently built. Another possibility would be to have a point_clientcommand
that is somehow triggered by the engineer and sent the input "destroy 3". This would force an engineer to destroy his own sentry gun.

There may be some way to make a point_hurt damage only sentry guns, but I couldn't figure out how.

Making a sentry gun attack a target that isn't an enemy is not possible. It may be possible to create an enemy though. I haven't tested this but it might be possible to place an obj_dispenser (or obj_teleporter_entrance, etc.) in the map in Hammer and set its team with a SetTeam input.