Point apc controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Reverted edit of last, changed back to last version by cur)
m (Robot: fixing template case.)
Line 10: Line 10:
==Keyvalues==
==Keyvalues==
*{{kv targetname}}
*{{kv targetname}}
*{{kv angles}}
*{{KV Angles}}
*'''yawrate'''
*'''yawrate'''
:<float>
:<float>

Revision as of 19:42, 19 January 2009

Template:Wrongtitle

Entity Description

Npc vehicledriver.png

APC Controller

Availability

Template:In game Template:Game Template:In code

Keyvalues

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
  • yawrate
<float>
  • yawtolerance
<float>
  • pitchrate
<float>
  • pitchtolerance
<float>
  • rotatestartsound
<sound>
  • rotatesound
<sound>
  • rotatestopsound
<sound>
  • minRange
<float> Minmum target range.
  • maxRange
<float> Maximum target range.
  • targetentityname
<target_destination> Name of entity I should follow/attack.

Flags

  • 1 : Active

Inputs

  • Activate
Turn the APC rockets on
  • Deactivate
Turn the APC rockets off (go dormant)

Outputs

  • OnFireAtTarget
Fires when a valid target is found and the APC should shoot rockets