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_id | int Particle ID registered in ParticleList |
parent_obj | Object Instance on which this particle will be attached |
local_pos | vector Attachment position local to the parent (Optional) |
local_ori | vector Orientation local to the parent (Pitch, Yaw, Roll in degrees) (Optional) |
force_world_rotation | bool Forces particle's orientation to rotate relative to the world and not with the object (Optional) |
ParticleSource
Created particle instance См. определение в файле ParticleManager.c строка 222
Перекрестные ссылки CreateParticle() и particle_id.
Используется в Play().