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

◆ PlayAmmoParticle()

static bool AmmoEffects::PlayAmmoParticle ( string ammoType,
vector pos )
inlinestaticprivate

Attempt to play the ammo particle at pos if found, returns true on success.

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

47 {
48 int particleID = GetAmmoParticleID(ammoType);
49
50 if (ParticleList.IsValidId(particleID))
51 {
52 return ParticleManager.GetInstance().PlayInWorld(particleID, pos) != null;
53 }
54
55 return false;
56 }
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Определения ParticleManager.c:88
static int GetAmmoParticleID(string ammoType)
Get the ParticleList ID for the particle for this ammoType.
Определения AmmoEffects.c:21

Перекрестные ссылки GetAmmoParticleID(), ParticleList::IsValidId() и ParticleManager().

Используется в IEntity::OnExplodeClient().