Func guntarget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Availability: Location)
m (→‎Outputs: {{activator}})
Line 35: Line 35:
*{{o targetname}}
*{{o targetname}}
*'''OnDeath'''
*'''OnDeath'''
:Fires when the target is killed.
:Fires when the target is killed. {{activator|killer}}


[[Category:Entities]][[Category:Brush Entities]]
[[Category:Entities]][[Category:Brush Entities]]

Revision as of 20:10, 16 April 2006

Template:Wrongtitle

Entity Description

This is a moving target that moves along a path of path_tracks. It can be shot and killed.

Availability

Template:In game Template:Game-base 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

Fires when the target is killed. (!activator is the killer)