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

◆ SetParticleState()

override void EffVehicleSmoke::SetParticleState ( int state)
inlineprivate

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

4 {
5 bool wasPlaying = IsPlaying();
6
7 Stop();
8 SetParticleID(state);
9
10 if (wasPlaying)
11 Start(); // resume effect
12 }
bool IsPlaying()
Returns true when the Effect is playing, false otherwise.
Определения Effect.c:197
override void Stop()
Stops all elements this effect consists of.
Определения EffectParticle.c:224
override void Start()
Plays all elements this effect consists of.
Определения EffectParticle.c:185
void SetParticleID(int id)
Sets the id of the particle to be used.
Определения EffectParticle.c:327

Перекрестные ссылки IsPlaying(), EffectParticle::SetParticleID(), EffectParticle::Start() и EffectParticle::Stop().

Используется в EffEngineSmoke::Event_OnFrameUpdate(), EffCoolantSteam::SetParticleStateHeavy(), EffEngineSmoke::SetParticleStateHeavy(), SetParticleStateHeavy(), EffCoolantSteam::SetParticleStateLight(), EffEngineSmoke::SetParticleStateLight(), EffExhaustSmoke::SetParticleStateLight() и SetParticleStateLight().