25 {
26
28
29
30
32 DisplayElementTendency dis_elm = DisplayElementTendency.Cast(
GetVirtualHud().
GetElement(eDisplayElements.DELM_TDCY_WATER));
33
34 if( dis_elm )
35 {
36 dis_elm.SetTendency(tendency);
37 dis_elm.SetSeriousnessLevel(water_level);
38
39 }
40 }
DisplayElementBase GetElement(eDisplayElements element_id)
VirtualHud GetVirtualHud()
int CalculateTendency(float delta, float inctresholdlow, float inctresholdmed, float inctresholdhigh, float dectresholdlow, float dectresholdmed, float dectresholdhigh)
const float INC_TRESHOLD_MED
const float INC_TRESHOLD_LOW
const float DEC_TRESHOLD_HIGH
const float DEC_TRESHOLD_MED
const float DEC_TRESHOLD_LOW
const float INC_TRESHOLD_HIGH