12-Jul-2023
Point entity which, when triggered, creates a blood splash at its origin, which can cause blood decals on nearby walls, ceiling and floor.
Keyvalues |
OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.
Name targetname : Set name of env_blood so other entities can trigger it to emit blood (if place available). Every trigger use-type works uniformly. Can be kill-targeted.
Pitch Yaw Roll (X Y Z) angles : Where Z means Y and Y means Z, that is, when you're thinking Hammer-grid. (Hammer uses Z for height and Y for depth, while every other sane 3D-application does this the other way round; nonetheless this keyvalue description has the letters in the conventional order) This, technically, is a 3D-vector containing Euler-angles to describe either the entity's rotation or direction of effect. E.g. a func_door_rotating will use this as its initial rotation, while a trigger_push will keep its original alignment and use this for the direction of its push-effect instead. Euler-angles are a hierarchical system to determine an object's orientation in 3D-space. A yaw-value of 0 would mean the entity would face east. (right in top-down view) 90 would mean it would face north. (up in top-down-view) After yaw, pitch is applied. Think aiming up/down with your character in first person. At last, the roll-value is applied. Think your character falling over sideways in first person. Some entities, mostly point entities, do not use the angles keyvalue for any purpose.
Blood Color color : Choose from one of two exciting colors.
Amount of blood (damage to simulate) amount : Greater amount causes the decal to be more likely to appear, more blood to appear and the blood to fly faster. Above 255, blood won't fly faster anymore. Basically, greater values simulate greater damage.
1 : Random Direction : If set, instead of the direction set by the env_blood's angles, a random direction will be used into which the blood splash will splatter.
2 : Blood Stream : Instead of a mere blood splash, a blood stream from multiple particles will fly through the air. Basically, this means more blood.
4 : On Player : If set, the blood splash will be created somewhere at the activating player's head.
8 : Spray decals : If set, blood will appear on a nearby wall, ceiling or floor.
If 'Move to position' is set to 'Instantaneous' and you have an action animation set, the monster may freeze up and no longer react.