Particle Regular Polyhedron (Expression) — skript-particle

Addon: skript-particle · Category: Expression

Syntax

[a[n]] [outlined|hollow|solid] (tetra|octa|icosa|dodeca)hedron (with|of) radius %number%

Description

Creates a regular polyhedron shape with the given radius. The radius must be greater than 0. Valid polyhedra are tetrahedra (4 faces), octahedra (8), dodecahedra (12), and icosahedra (20).

Polyhedra currently do not support the particle count expression, only particle density.

Examples

set {_shape} to a tetrahedron with radius 1
set {_shape} to a solid icosahedron with radius 2
draw the shape of a tetrahedron with radius 5 at player

View source