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

◆ PlayParticles()

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.

Аргументы
particlesarray<ParticleSource> The resulting particles if an array is given
pathstring Path of particle effect
positionsarray<vector> Positions of particles
countint Amount of particles to create at this position
Возвращает
int Amount of particles created in this frame, if the ParticleManager is still allocating while this is called and virtual particles are enabled, the overflow particles will be virtual instead and not given in the out array

Перекрестные ссылки path.

Используется в PlayParticleById() и PlayParticlesById().