Env blood: Difference between revisions
Jump to navigation
Jump to search
m (→Keys: fixed var type to match code) |
m (doxygen) |
||
Line 6: | Line 6: | ||
==Availability== | ==Availability== | ||
{{in game|point}} {{game-base}} | {{in game|point}} {{game-base}} | ||
{{in code|class=CBlood|file=effects.cpp}} | {{in code|class=[http://hl2sdk.gigcities.com/class_c_blood.html CBlood]|file=[http://hl2sdk.gigcities.com/effects_8cpp-source.html effects.cpp]}} | ||
==Keys== | ==Keys== |
Revision as of 05:59, 2 August 2006
Entity Description
An entity used to spawn blood effects.
Availability
Template:In game Template:Game-base Template:In code
Keys
- <angle> The general direction that the blood should spray and the direction to trace to apply the decal.
- color
- <choices> Blood color:
Literal value Description 0 Red (Human) 1 Yellow (Alien)
- amount
- <float> Amount of blood (damage to simulate)
Flags
- 1 : Random Direction
- 2 : Blood Stream
- 4 : On Player
- 8 : Spray decals
Inputs
- Template:I targetname
- Template:I parentname
- EmitBlood
- Triggers the blood effect.