env_blood

An env_blood sprays blood each time you trigger it, either as a splash or as a stream of drops, and it can leave a
blood stain on the surface the blood flies toward.
Attributes
The entity also has these common keys:
- Position: Pitch Yaw Roll
targetnameTriggering the entity sprays the blood. See Common keys.
colorPicks the color of the blood drops and stains. You can also type any color number of the game's palette from 2 up to 255, and any other number gives red.The 18 choices
If you leave this key empty, the blood is black, and its decals are the yellow alien kind.
Red (Human) (0)Sets where the blood appears. It takes a locus position, so you can use a point such as 0 0 64, the name of an entity, or !activator for the entity that started the chain of triggers. The entity ignores it with On Player.
If you leave this key empty, the blood appears at the env_blood itself.
Sets the direction the blood flies in. It takes a locus vector, so you can use three numbers such as 0 0 1 for up, or the name of an entity, which gives the direction that entity moves in. The entity ignores it with Random Direction.
If you leave this key empty, the blood flies in the direction of the entity's Pitch Yaw Roll.
amountSets how much blood it sprays, as the damage it stands for, so a bigger number makes a bigger splash or a stronger stream, up to 255.
If you leave this key empty, it is 0, so no drops appear and no decal is made, but with Blood Stream a stream still comes out, with no force.
100Flags
1Random DirectionThe blood flies in a random direction each time
2Blood StreamSprays a stream of blood drops instead of a single splash
4On PlayerThe blood appears at the eyes of the player who triggered it, or at the first player when no player triggered it
8Spray decalsLeaves a blood stain on the first surface in the blood's direction, up to twice Amount of blood units away
Notes
- If the entity can't find the position or the direction that these keys name, for example because a key names an entity that doesn't exist, no blood appears for that trigger
See also
env_decal- sprays a decal such as a blood stain or a scorch mark- Locus system - the positions and vectors these keys take
Changes since 1.38
- You can use the new keys Initial position and Direction
- You can pick any palette color for the blood. In SBO 1.38, every color except red and yellow gave red
