10 [
Attribute(defvalue:
"1",
params:
"1 1000",
desc:
"The m_iNumberDivider allows for floats as this system only works with ints. So Giving the param float value * x and dividing x here again")]
11 protected int m_iNumberDivider;
15 int param1, param2, param3, param4, param5;
16 data.GetParams(param1, param2, param3, param4, param5);
18 float display1 = param1;
19 display1 = param1 / m_iNumberDivider;
21 float display2 = param2;
22 display2 = param2 / m_iNumberDivider;
24 float display3 = param3;
25 display3 = param3 / m_iNumberDivider;
27 float display4 = param4;
28 display4 = param4 / m_iNumberDivider;
30 float display5 = param5;
31 display5 = param5 / m_iNumberDivider;
33 data.SetNotificationTextEntries(display1.ToString(), display2.ToString(), display3.ToString(), display4.ToString(), display5.ToString());
34 return super.GetText(
data);