Sonolus Wiki

SpawnParticleEffect

Spawn a particle effect.

Arguments

ArgumentDescription
idParticle effect identifier
x1X1
y1Y1
x2X2
y2Y2
x3X3
y3Y3
x4X4
y4Y4
durationDuration
isLoopedWhether is looped or not

Return

A unique identifier of the spawned particle effect instance.

Remarks

Points are in the order of bottom-left, top-left, top-right, bottom-right.

Returned identifier can be used to control the particle effect instance using MoveParticleEffect and DestroyParticleEffect functions.