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

◆ PlayParticleEx()

override bool Particle::PlayParticleEx ( int particle_id = -1,
int flags = 0 )
inlineprotected

Method to tell the particle to start playing.

Заметки
The parameter to set the ID will only work when the particle is not already playing
Аргументы
particle_idint Particle ID registered in ParticleList to start playing
flagsint Flags to pass to the playing (None on this level)
Возвращает
bool Whether the particle successfully started

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

216 {
217 if ( particle_id > -1 )
218 {
220 }
221
223
224 UpdateState();
225
226 return true;
227 }
void OnParticleStart()
Event when the particle starts.
Определения ParticleBase.c:179
int particle_id
Определения SmokeSimulation.c:28
void SetSource(int particle_id)
Sets particle id.
Определения Particle.c:285
void UpdateState()
Creates/Destroys ParticleEffect child according to current state.
Определения Particle.c:425

Перекрестные ссылки OnParticleStart(), particle_id, SetSource() и UpdateState().

Используется в PlayParticle().