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

◆ PlayParticleEx()

override bool ParticleSource::PlayParticleEx ( int particle_id = -1,
int flags = 0 )
inlineprivate

Method to tell the particle to start playing.

Аргументы
particle_idint Particle ID registered in ParticleList to start playing
Возвращает
bool Whether the particle successfully started

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

351 {
352 if ( particle_id > -1 )
353 {
354 // Here we can just do it directly
355 // While with the old system it will not work when the particle is already created
357 }
358
359 return PlayParticleNative(flags);
360 }
int particle_id
Определения SmokeSimulation.c:28
bool SetParticleByID(int id)
Assigns a particle to the ParticleSource.
Определения ParticleSource.c:458
proto bool PlayParticleNative(int flags)
Method to tell the particle to start playing.

Перекрестные ссылки particle_id, PlayParticleNative() и SetParticleByID().