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

◆ SetDefault()

void EffCloudDust::SetDefault ( )
inlineprivate

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

9 {
10 int particleID = ParticleList.DUST_CLOUD;
11
12 if (!m_EffectSound)
13 {
14 EffectSound effectSound = SEffectManager.CreateSound("DustWindGust_SoundSet", vector.Zero, 3, 3, true);
15 SetEffectSound(effectSound);
16 }
17
18 if (m_ParticleID != particleID)
19 {
20 if (particleID != 0)
21 {
22 SetParticleState(particleID);
23 }
24 else
25 {
26 Stop();
27 }
28 }
29 }
override void SetParticleState(int state)
Определения EffCloudDust.c:66
override void Stop()
Stops all elements this effect consists of.
Определения EffectParticle.c:224
EffectSound m_EffectSound
Name of sound set that is going to be played when particle starts playback.
Определения EffectParticle.c:18
int m_ParticleID
The ID in the ParticleList to create Particle from.
Определения EffectParticle.c:14
void SetEffectSound(EffectSound effectSound)
Set effect sound play with particle.
Определения EffectParticle.c:599

Перекрестные ссылки SEffectManager::CreateSound(), ParticleList::DUST_CLOUD, EffectParticle::m_EffectSound, EffectParticle::m_ParticleID, EffectParticle::SetEffectSound(), SetParticleState(), EffectParticle::Stop() и vector::Zero.

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