Enemy Territory

Entities

func_button
Keys
angle
Does NOT work in ET, use "angles".
angles
Individual control of PITCH, YAW, and ROLL (eg 45 45 45).
color
ConstantLight color.
health
If set, the button will also open when hurt.
light
ConstantLight radius.
lip
Lip remaining at end of move (4 default).
model2
.md3 model to also draw - use an origin. It will attach itself to the origin brush.
speed
Overrides the default speed (40).
target
(If you see doubled target keys, this was done for future coding reasons)
target
All entities with a matching targetname will be triggered.
targetname
(If you see doubled targetname keys, this was done for future coding reasons)
wait
Overrides the default 1 second wait (-1 = never return).
Spawnflags
TOUCH
Activates when player is close enough.
When a button is used, it moves some distance in the direction of it's angles, triggers all of it's targets, waits some time, then returns to it's original position where it can be triggered again.
Target this entity with a misc_model to have the model attached to the entity
(set the model's "target" key to the same value as this entity's "targetname").

©2017 Chruker