Func guntarget: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (categorise - brushmodel entities) |
||
Line 4: | Line 4: | ||
==Entity Description== | ==Entity Description== | ||
This is a moving target that moves along a path of [[path_track]]s. It can be shot and killed. | This is a moving target that moves along a path of [[path_track]]s. It can be shot and killed. | ||
{{brushmodel}} | |||
{{in code|class=class_c_gun_target.html CGunTarget|file=guntarget_8cpp-source.html guntarget.cpp}} | {{in code|class=class_c_gun_target.html CGunTarget|file=guntarget_8cpp-source.html guntarget.cpp}} | ||
Revision as of 17:04, 10 May 2008
Template:Wrongtitle Template:Base brush
Entity Description
This is a moving target that moves along a path of path_tracks. It can be shot and killed. Template:Brushmodel Template:In code
Keyvalues
- <integer> The speed at which the target moves along its path.
- target
- <target_destination> The name of the first path_track entity in the path that this target should follow.
- health
- <integer> The amount of damage taken before this target is killed.
- _minlight
- <string> The minimum level of ambient light that hits this brush.
Inputs
- Start the target moving.
- Stop
- Stop the target from moving.
- Toggle
- Toggle the target between moving and stopped.
Outputs
- Template:O targetname
- OnDeath
- Fires when the target is killed. (!activator is the killer)