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

◆ PlayOnObject()

static override Particle ParticleSource::PlayOnObject ( int particle_id,
Object parent_obj,
vector local_pos = "0 0 0",
vector local_ori = "0 0 0",
bool force_world_rotation = false )
inlinestaticprotected

Creates a particle emitter, attaches it on the given object and activates it.

Аргументы
particle_idint Particle ID registered in ParticleList
parent_objObject Instance on which this particle will be attached
local_posvector Attachment position local to the parent (Optional)
local_orivector Orientation local to the parent (Pitch, Yaw, Roll in degrees) (Optional)
force_world_rotationbool Forces particle's orientation to rotate relative to the world and not with the object (Optional)
Возвращает
Particle Created particle instance

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

294 {
295 return CreateParticle(particle_id, local_pos, true, parent_obj, local_ori, force_world_rotation);
296 }
void CreateParticle()
Определения BleedingSource.c:83
int particle_id
Определения SmokeSimulation.c:28

Перекрестные ссылки CreateParticle(), Particle::Particle() и particle_id.

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