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

◆ CreateParticlesByIdArr()

array< ParticleSource > CreateParticlesByIdArr ( int id,
notnull ParticlePropertiesArray properties,
int count )

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

Аргументы
idint ID of particle registered in ParticleList
propertiesParticleProperties Properties of the particles created
countint Amount of particles to create with these properties
Возвращает
array<ParticleSource> The resulting particles - Read particles param of CreateParticles

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

316 {
318 CreateParticles(outArr, ParticleList.GetParticleFullPath(id), properties, count);
319 return outArr;
320 }
proto native int CreateParticles(array< ParticleSource > particles, string path, notnull ParticlePropertiesArray properties, int count=1)
Creates an amount of particles with the properties given.
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.

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