DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ EEFired()

override void Weapon::EEFired ( int muzzleType,
int mode,
string ammoType )
inlineprotected

См. определение в файле Weapon_Base.c строка 341

342 {
343 auto player = PlayerBase.Cast(GetHierarchyRootPlayer());
344
345 if ( !g_Game.IsHeadlessOrDedicatedServer() )
346 {
347 ItemBase suppressor = GetAttachedSuppressor();
348
349 // Muzzle flash & overheating effects
350 ItemBase.PlayFireParticles(this, muzzleType, ammoType, this, suppressor, "CfgWeapons" );
351 IncreaseOverheating(this, ammoType, this, suppressor, "CfgWeapons");
352
353 if (suppressor)
354 {
355 ItemBase.PlayFireParticles(this, muzzleType, ammoType, suppressor, NULL, "CfgVehicles" );
356 suppressor.IncreaseOverheating(this, ammoType, this, suppressor, "CfgVehicles");
357 }
358 }
359 //JamCheck(muzzleType);
360
361 #ifdef DIAG_DEVELOPER
362 MiscGameplayFunctions.UnlimitedAmmoDebugCheck(this);
363 #endif
364 }
DayZGame g_Game
Определения DayZGame.c:4074
string ammoType
Определения DustKickupEffects.c:24
class GP5GasMask extends MaskBase ItemBase
void IncreaseOverheating(ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search)
Определения ItemBase.c:443

Перекрестные ссылки ammoType, g_Game и IncreaseOverheating().