headcrab 
Headcrab (/mob/living/basic/blackmesa/xen/headcrab) Parasitic alien that jumps at targets and can zombify humans.
A classic Half-Life enemy that uses jumping attacks and can turn humans into zombies.
- Jumps at targets from range
- Can zombify unprotected humans on headshot
- Detaches from zombies on death with a chance to survive
Vars | |
| is_zombie | Track if we've attached to a human, to prevent multiple zombifications |
|---|---|
| throw_at_range | Maximum distance this headcrab can jump in tiles |
| throw_at_speed | Base speed at which this headcrab jumps (actual speed varies with distance) |
Procs | |
| handle_impact | Handle leap impacts |
| zombify | Transforms a human into a headcrab zombie |
Var Details
is_zombie 
Track if we've attached to a human, to prevent multiple zombifications
throw_at_range 
Maximum distance this headcrab can jump in tiles
throw_at_speed 
Base speed at which this headcrab jumps (actual speed varies with distance)
Proc Details
handle_impact
Handle leap impacts
zombify
Transforms a human into a headcrab zombie