Custom Particle Section (Section) — skript-particle

Addon: skript-particle · Category: Section · Since: 1.0.2

Syntax

create [a] [new] custom %particle% [particle] [with]

Description

This section can be used in conjunction with the `last created particle` expression to create custom particles. The particle can be any custom particle from skript-particle or from skbee. Fields include: count: integer - the number of particles to create (required) offset: vector - the offset value of the particle. See the Minecraft wiki on /particle for more info. (default: 0, 0, 0) velocity: vector - the velocity of the particle. Can be a vector or a motion (inwards/clockwise/etc.). (default: 0, 0, 0) extra: number - the extra value of the particle. Forces `count` to be 0 and cannot be combined with `offset`. See the Minecraft wiki on /particle for more info. (default: 0) force: boolean - whether or not to force the particle to be seen at long range. (default: false)

Examples

create a new custom electric spark particle with:
	count: 10
	offset: vector(1, 1, 1)
	extra: 0.2
	force: true
set {_particle} to last created particle

create a new custom red dust particle with:
	count: 0
	velocity: inwards
	extra: 0.5
	force: true
set {_particle} to last created particle

View source