part_type_create

Creates a new particle type.

Syntax:

part_type_create();


Returns: Real


Description

With this function you can create a new particle type and the return value should be stored in a variable for use in all subsequent particle functions.


Example:

mypart = part_type_create();

This will create a new particle type, storing its index in the variable "mypart".


Back: Particle Types
Next: part_type_destroy
© Copyright YoYo Games Ltd. 2015 All Rights Reserved