func_tankcontrols

A func_tankcontrols marks the place where a player takes the controls of a func_tank with their
use key. The gun must have the flag Controllable, and the player then aims it where they look and fires it with
their attack key.
Attributes
Names the parent, an entity that this one moves and turns with. The entity keeps the place and the angles it has on the parent in the editor. If several entities have the name, the first one counts. A name ending in .1 to .4 puts a sprite or a model that isn't solid on that attachment point of the model of the parent. A solid brush on a parent that turns needs its own origin brush. Moving objects explains it all.
If you leave this key empty, the entity doesn't move with anything.
parentflagsKeeps some of the entity's own position or angles instead of following the parent. Add up the values of the axes to keep: 2 for X, 4 for Y, 8 for Z, 16 for pitch, 32 for yaw and 64 for roll. So 112 keeps the entity level. 0 follows the parent on every axis.
0targetNames the gun that a player standing in this brush takes over, and with several guns of that name, the first one.
See also
func_tank- a mounted gun- func_tankcontrols on TWHL - the Half-Life entity
