75 {
76
78 {
79 float lastDamaged = 0;
80
81 AreaDamageTriggerInsider dInsider;
82 if ( CastTo( dInsider, insider ) )
84
85
86 if (lastDamaged == 0)
87 return 1;
88
89
90
92 if ( damageCoeff >= 1 )
93 return damageCoeff;
94
95 return 0;
96 }
97 else
98 {
100 }
101 }
float m_CurrentTime
Current start time in seconds.
int m_AmountOfLoops
Caching of the amount of loops that will be performed in this frame.
bool m_LoopByObject
Decides if the looping will be using the Object as reference or the time since last update loop.
float m_LoopInterval
Loop interval in seconds.
float lastDamaged
Last time the object was damaged in seconds.