20 {
21
23
24
25
26
28 DisplayElementTendency dis_elm = DisplayElementTendency.Cast(
GetVirtualHud().
GetElement(eDisplayElements.DELM_TDCY_ENERGY));
29
30 if( dis_elm )
31 {
32 dis_elm.SetTendency(tendency);
33 dis_elm.SetSeriousnessLevel(energy_level);
34
35 }
36
37
38
39
40
41
42
43
44 }
DisplayElementBase GetElement(eDisplayElements element_id)
const float INC_TRESHOLD_MED
const float DEC_TRESHOLD_MED
const float DEC_TRESHOLD_LOW
const float DEC_TRESHOLD_HIGH
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)