7 [
Attribute( defvalue:
"1.0", uiwidget: UIWidgets.Slider,
desc:
"Activate groups every [s]",
params:
"0 5 0.1" )]
8 float m_fNextGroupTime;
20 SetEventMask(EntityEvent.INIT | EntityEvent.FRAME);
21 SetFlags(EntityFlags.ACTIVE,
false);
27 BaseWorld world =
GetGame().GetWorld();
35 override void EOnFrame(IEntity owner,
float timeSlice)
45 PrintFormat(
"Group %1 activated at location %2",group,group.GetOrigin());
54 ClearEventMask(EntityEvent.FRAME);
56 Print(
"SCR_StressTestGroup: activation of groups completed");