entityguide‎ > ‎

func_guntarget

Func_guntarget is a func_train able to fire it's target once, on receiving specified amount of damage. It need to be turned on (to make
it move) in order to take a damage. Once it's gets activated it won't stop it's movement unless "killed". This entity cannot be stopped by triggering it nor reactivated. It is used in the Half-Life training course as gun target, hence the name.

Keyvalues


"Speed", speed :
Movement-speed in units per second.

"First stop target", target:
The name of the first path_corner (where the train starts). Train is teleported to this position on map start, no matter where 
it's placed.

"Fire on damage", message:
Entity to trigger when func_guntarget receive a specified in "Damage to Take" amount of damage.

"Damage to Take", health:
Point of damage to take before guntarget trigger an entity typed in "Fire on damage". Should be different than 0.


Flags


1: "Start On": If set, this func_guntarget starts enabled.


Notes

  • When moving, func_guntarget can receive the damage like regular breakable entity, but when it stops, it behaves like regular func_train- some projectiles would bounce off out of it's surface.


Changes
  • 5.0 Steam Release: Added 'Equip Mode' and 'Inventory Mode' keyvalues.
  • 5.09: Added missing 'Start On' flag.

Comments