304 {
306 if (data)
308 #ifdef DIAG_DEVELOPER
309 else
310 ErrorEx(
string.Format(
"Cannot set cooldown, effect '%1' does not exist.", EnumTools.EnumToString(
EVehicleVFXEffect, effectId)));
311 #endif
312 }
EVehicleVFXEffect
Identifiers of individual vehicle VFX effects.
ref map< int, ref VehicleVFXData > m_EffectsMap
keyed by EVehicleVFXEffect
void SetCooldown(float seconds)
set the cooldown window (in seconds); 0 disables the guard