34 {
36
37
38
39
40
42 DisplayElementTendency dis_elm = DisplayElementTendency.Cast(
GetVirtualHud().
GetElement(eDisplayElements.DELM_TDCY_HEALTH));
43
44 if( dis_elm )
45 {
46 dis_elm.SetSeriousnessLevel(health_level);
47 dis_elm.SetTendency(tendency);
48 }
49 }
DisplayElementBase GetElement(eDisplayElements element_id)
const float DEC_TRESHOLD_HIGH
const float INC_TRESHOLD_LOW
const float DEC_TRESHOLD_MED
const float INC_TRESHOLD_HIGH
const float INC_TRESHOLD_MED
const float DEC_TRESHOLD_LOW
VirtualHud GetVirtualHud()
int CalculateTendency(float delta, float inctresholdlow, float inctresholdmed, float inctresholdhigh, float dectresholdlow, float dectresholdmed, float dectresholdhigh)