Func guntarget: Difference between revisions

From Sven Co-op
Jump to navigation Jump to search
Import of converted entguide pages from Sven Manor.
 
m Formatting, typos, links etc.
 
Line 4: Line 4:
}}
}}


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  
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.
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.


Line 20: Line 20:
== Notes ==
== 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.
* 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 ==
== Changes ==


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


{{entity_title}}
{{entity_title}}

Latest revision as of 03:30, 28 January 2019

func_guntarget
Type

brush

Status

supported

 


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.