Destroys a given particle type.



参数 描述
ind The index of the particle type to destroy.

返回: N/A(无返回值)


With this function you can remove the specified particle type from the game. When you use this function, all particles of the given type will disappear from the room and the particle itself is removed form memory, so this function should be used only when you no longer need the particle.


if part_particles_count(smoke_sys) = 0
else alarm[0] = 1;

The above code checks a particle system to see if any particles are currently visible in the room and if not, the particles, the system and the instance are destroyed.

上一页: Particle Types
下一页: part_type_clear
© Copyright YoYo Games Ltd. 2018 All Rights Reserved