Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
ppertunnel.c
Go to the documentation of this file.
1 class PPERequester_TunnelVisionEffects extends PPERequester_GameplayBase
2 {
3  protected float m_Intensity;
4 
5  override protected void OnStart(Param par = null)
6  {
7  super.OnStart();
8 
9  m_Intensity = Param1<float>.Cast(par).param1;
10 
11  SetTargetValueFloat(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTE,false,m_Intensity,PPEGlow.L_25_TUNNEL,PPOperators.HIGHEST);
12  SetTargetValueColor(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTECOLOR,{0.0,0.0,0.0,0.0},PPEGlow.L_26_TUNNEL,PPOperators.LOWEST);
13  }
14 }
PostProcessEffectType
PostProcessEffectType
Post-process effect type.
Definition: enworld.c:71
Param
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Definition: param.c:11
SetTargetValueColor
protected void SetTargetValueColor(int mat_id, int param_idx, ref array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition: pperequestplatformsbase.c:195
PPEGlow
Glow - PostProcessEffectType.Glow.
Definition: ppeglow.c:7
PPERequester_GameplayBase
base, not to be used directly, would lead to layering collisions!
Definition: pperbloodloss.c:1
SetTargetValueFloat
protected void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition: pperequestplatformsbase.c:153
PPOperators
PPOperators
PP operators, specify operation between subsequent layers.
Definition: ppeconstants.c:51
OnStart
enum EAchievementError OnStart
Definition: pperglasses.c:2