info_apc_missile_hint

From Valve Developer Community

Jump to: navigation, search


Contents

Entity Description

A brush entity that helps guide rockets fired by the Prop vehicle apc.

If the missile can hit the specified target entity within the time it takes the target to enter and leave the apc_missile_hint brush, the missile will steer towards the target.

Availability

This brush-based entity is available in: HL2. In code it is represented by class CInfoAPCMissileHint, defined in hl2_dll\weapon_rpg.cpp.

Keyvalues

  • Targetname:

Name <string>
The targetname other entities refer to this entity by.
  • Origin:

Origin <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
  • Angles:

Pitch Yaw Roll (Y Z X) <angle>
This entity's angular orientation in the world.
  • EnableDisable:

Start Disabled <bool>
Stay dormant until activated (probably with the Enable input).
  • target
<target_destination> The entity that the missile will guide towards if the conditions are met.

Flags

None.

Inputs

  • Targetname:

Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.
  • EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

  • Targetname:

OnUser1 to OnUser4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
OnKilled (New with Left 4 Dead)
Fired when the entity is killed and removed from the game.
Personal tools