Func guntarget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Availability: Location)
Line 6: Line 6:
==Availability==
==Availability==
{{in game|brush}} {{game-base}}
{{in game|brush}} {{game-base}}
{{in code|class=???|file=???}}
{{in code|class=CGunTarget|file=guntarget.cpp}}


==Keyvalues==
==Keyvalues==

Revision as of 22:02, 3 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.