← Back to Index

SpawnParticleEffectPacket (118)

Tell client to spawn a particle effect.
This is not used for much anymore, only the Particle command (spawn particle by name at a location) and for ScriptServerSpawnParticleAttachedToActor and ScriptServerSpawnParticleInWorldEvent.
Field Name Type Field Index Description
Dimension Id (Required) uint8 0
Actor Id (Required) ActorUniqueID 1

ActorUniqueID

Field Name Type Field Index Description
Actor Unique ID (Required) varint64 0
Position (Required) Vec3 2

Vec3

Field Name Type Field Index Description
X (Required) float 0
Y (Required) float 1
Z (Required) float 2
Effect Name (Required) string 3 Should be an effect that exists on the client. No-op if the effect doesn't exist.
Molang Variables (Required) class MolangVariableMap 4