8 [Attribute("", UIWidgets.ResourceAssignArray, "Generated explosions will loop through the projectiles on this array", "et")]
9 ref array<ResourceName> m_ProjectilesToTrigger;
10
11//Initial values
12 [Attribute("0", UIWidgets.EditBox, "Number of explosions to create. 0 = until time ends")]
13int m_NumExplosions;
14
15 [Attribute("0", UIWidgets.EditBox, "Time until this entity creates a new explosion.")]
16float m_TimeBetweenExplosions;
17
18 [Attribute("0", UIWidgets.EditBox, "Time (in seconds) until no more explosions are generated. This is not needed if Num Explosions is different to 0")]
19float m_TotalDuration;
20
21// current values
22 ref array<ref Resource> m_LoadedPrefabs = new array<ref Resource>();
23
24int m_RemainingExplosions = 0;
25float m_TimeUntilNextExplosion = 0;
26float m_RemainingDuration = 0;
27
28
29//keeps track of what explosion prefab will be used