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

◆ PlayOnObject()

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 )

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)
Возвращает
ParticleSource Created particle instance

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

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

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

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