Skip to content

Deathsmoke

Emit 20 particles at the parent or an Entity's position with configurable size.

Syntax

(1) (Emits the particle at the parent's position at size Vector3.one)

|deathsmoke|

(2)

|deathsmoke,entity|

(3)

|deathsmoke,entity,size|

Parameters

entity: int | string

The Entity that this command refers to. The int form is a regular Entity id and it must not resolve to null or an exception will be thrown. The string form can be one of the following when not in battle (if in battle, this is interpreted as an int which will cause an exception to be thrown):

  • this: Refers to the tailtarget. This must not be null or an exception will be thrown.
  • caller: Refers to the caller. This must not be null or an exception will be thrown.
  • Anything else: if the string is in the define list, it will refer to it. Otherwise, the value will be interpreted as the int form.

size: float

The size of the particles to emit. This must be a valid float or an exception will be thrown. The default value is 1.0.