Skip to content

Part_destroyer_create

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

Creates a new particle destroyer in the given particle system and returns the index. A particle destroyer will destroy particles when they enter its area.

Parameters

Parameter Data Type Description
sys integer index of the particle system

Return Values

integer: Returns the index of the newly created particle destroyer.

Example Call

// demonstrates creating a particle destroyer
var dest;
dest = part_destroyer_create(sys);

NOTOC

This is number 1

Clone this wiki locally