GRUNT USES FUNC_TANK;
PLAYER KILLS GRUNT, USES FUNC_TANK
see also Tanks
You can make func_tank
that shoots at the player until the grunt "manning" it dies.
(See Monster Behavior.)You can make
a func_tank that the player can use. But it's not possible to make a
single Half-Life entity which does both. However,
Ramon Talavera writes: "I found a tricky way to get this effect"
...
1 - Create TWO identical
turrets and place them at the same position
GUN1:
Render Mode Normal
Active Flag SET
GUN2:
Render Mode Texture
FX Amount 0
Controllable Flag SET
Active Flag UNSET
2 - Create TWO env_render
entities:
UNRENDGUN1:
Target GUN1
Render Mode Texture
FX Amount 0
RENDGUN2: Target
GUN2
Render Mode Normal
3 - Create a Multimanager,
call it RENDERER_CONTROLMM
Deactivate SmartEdit
and insert the following Key/value pairs:
GUN1 0
UNRENDGUN1 1
RENDGUN2 1
4 - Now set the
grunt Target to RENDERER_CONTROLMM and the trigger condition to death.
How it works: The
grunt dies and activates the multimanager. The multimanager deactivates
the automatic turret and makes it disappear, it also makes the hidden
(Texture,FX Amount 0) turret, the controllable one, appear, so that
you can control it.
by Ramon Talavera
- wrath@airtel.net