Point apc controller: Difference between revisions
Jump to navigation
Jump to search
In code, it is represented by the
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template) |
m (Template:in code -> Template:code class.) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
[[Image:Npc vehicledriver.png|left]] | |||
{{hl2 point|point_apc_controller}} | {{hl2 point|point_apc_controller}} | ||
{{code class|CAPCController|hl2_dll\point_apc_controller.cpp}} | |||
{{clr}} | |||
==Entity description== | ==Entity description== | ||
Controls all [[prop_vehicle_apc|APC's]] in the map. {{Todo|Collect more informations about what the entity does.}} | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 09:43, 15 May 2022

CAPCController
class, defined in thehl2_dll\point_apc_controller.cpp
file.
Entity description
Controls all APC's in the map.
Todo: Collect more informations about what the entity does.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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.
- Name of entity I should follow/attack ([todo internal name (i)]) <targetname>
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.