20 {
22
23
24 DisplayElementTendency dis_elm = DisplayElementTendency.Cast(
GetVirtualHud().
GetElement(eDisplayElements.DELM_TDCY_BLOOD));
25
27
28 if( dis_elm )
29 {
30 dis_elm.SetTendency(tendency);
31 dis_elm.SetSeriousnessLevel(blood_level);
32
33 }
34
35 }
DisplayElementBase GetElement(eDisplayElements element_id)
const float DEC_TRESHOLD_MED
const float DEC_TRESHOLD_HIGH
const float INC_TRESHOLD_MED
const float DEC_TRESHOLD_LOW
const float INC_TRESHOLD_LOW
const float INC_TRESHOLD_HIGH
VirtualHud GetVirtualHud()
int CalculateTendency(float delta, float inctresholdlow, float inctresholdmed, float inctresholdhigh, float dectresholdlow, float dectresholdmed, float dectresholdhigh)