Particles

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article

Overview

To control particles attached to an entity, see the Entity particle functions.

These functions are in the Particle table.

Functions

CreateEffect(name, params)
example - none
DeleteEffect(name)
example - none
IsEffectAvailable(name)
example - none
SpawnEffect(effectName, pos, dir, [scale], [entityId], [partId])
example - Game/Scripts/Entities/Particle/ParticleEffect.lua
SpawnEffectLine(effectName, startPos, endPos, dir, scale, slices)
example - none
SpawnParticles(params, pos, dir)
example - none
CreateDecal(pos, normal, size, lifeTime, textureName, [angle], [hitDirection], [entityId], [partid])
example - Game/Scripts/Entities/Others/Mine.lua
CreateMatDecal(pos, normal, size, lifeTime, materialName, [angle], [hitDirection], [entityId], [partid])
example - Game/Scripts/Entities/actor/BasicActor.lua


Constants

var ParticleBlendType_AlphaBased
var ParticleBlendType_ColorBased
var ParticleBlendType_Additive
var ParticleBlendType_None
Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools