func_guntarget
Jump to navigation
Jump to search


func_guntarget
is a brush entity available in all Source games.
Entity Description
It is a moving target that moves along a path of path_tracks. It can be shot and killed. Template:Brushmodel
Keyvalues
- Speed (units per second) (speed) <integer>
- The speed at which the target moves along its path.
- First stop target (target) <targetname>
- The name of the first path_track entity in the path that this target should follow.
- Damage to Take (health) <integer>
- The amount of damage taken before this target is killed.

This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.


Inputs
- Start
- Start the target moving.
- Stop
- Stop the target from moving.
- Toggle
- Toggle the target between moving and stopped.
- SetDamageFilter <targetname >
- Sets a filter for this entity for when it receives damage.
- EnableDamageForces
- Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
- DisableDamageForces
- Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place
Outputs
- OnDeath
- Fires when the target is killed. (!activator is the killer)