6 [
Attribute(
"", UIWidgets.EditBox,
"Name of the signals prefix to listen to.")]
7 protected string m_sSignalNamePrefix;
10 [
Attribute( defvalue:
"2", uiwidget: UIWidgets.EditBox,
desc:
"Number of signals which values are supposed to be summed up" )]
11 private int m_iNrOfSignals;
13 private ref array<int> m_iArraysOfSignalsIDs;
16 override float GetValue()
23 for(
int iLoop = 0; iLoop < m_iArraysOfSignalsIDs.Count(); iLoop++)
30 override event void DisplayStartDraw(IEntity owner)
35 m_iArraysOfSignalsIDs.Clear();
36 for(
int iLoop = 1; iLoop <= m_iNrOfSignals; iLoop++)
39 super.DisplayStartDraw( owner );
45 m_iArraysOfSignalsIDs =
new array<int>();
51 if( m_iArraysOfSignalsIDs )
52 m_iArraysOfSignalsIDs =
null;