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

◆ PlayParticlesById()

array< ParticleSource > PlayParticlesById ( int id,
array< vector > positions,
int count )

QoL function using script ParticleList, strongly recommend to read comments for PlayParticles as well.

Аргументы
idint ID of particle registered in ParticleList
positionsarray<vector> Positions of particles
countint Amount of particles to create at this position
Возвращает
array<ParticleSource> The resulting particles - Read particles param of PlayParticles

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

357 {
359 PlayParticles(outArr, ParticleList.GetParticleFullPath(id), positions, count);
360 return outArr;
361 }
proto native int PlayParticles(out array< ParticleSource > particles, string path, notnull array< vector > positions, int count=1)
QoL function for when wanting to play a particle at a position right away.
static string GetParticleFullPath(int particle_id)
Returns particle's full path (with .ptc suffix) based on its ID.
Определения ParticleList.c:485
Определения ParticleList.c:12
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки ParticleList::GetParticleFullPath() и PlayParticles().