Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
pperhealthhit.c
Go to the documentation of this file.
1class PPERequester_HealthHitReaction extends PPERequester_GameplayBase
2{
3 const float INTENSITY_MULT = 6.0;
4
5 void SetHitIntensity(float intensity)
6 {
7 //color overlay
9 SetTargetValueColor(PostProcessEffectType.Glow,PPEGlow.PARAM_OVERLAYCOLOR,{intensity * INTENSITY_MULT, 0.0, 0.0, 1.0},PPEGlow.L_21_HIT,PPOperators.HIGHEST);
10 }
11}
Glow - PostProcessEffectType.Glow.
Definition ppeglow.c:8
static const int L_20_HIT
Definition ppeglow.c:42
static const int PARAM_OVERLAYFACTOR
Definition ppeglow.c:29
static const int L_21_HIT
Definition ppeglow.c:47
static const int PARAM_OVERLAYCOLOR
Definition ppeglow.c:30
base, not to be used directly, would lead to layering collisions!
void SetHitIntensity(float intensity)
PostProcessEffectType
Post-process effect type.
Definition enworld.c:72
PPOperators
PP operators, specify operation between subsequent layers.
void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
void SetTargetValueColor(int mat_id, int param_idx, array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)