Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
LoadParticleEffect
Syntax
C++
int LoadParticleEffect(IFunctionHandler * pH, int nSlot, const char * sEffectName, SmartScriptTable table);
Parameters 
Description 
int nSlot 
Slot identifier. 
const char * sEffectName 
Name of the particle effect (Ex: "explosions/rocket"). Optional table fields: 
bPrime 
Whether effect starts fully primed to equilibrium state. 
fPulsePeriod 
Time period between particle effect restarts. 
fScale 
Size scale to apply to particles 
fCountScale 
Count multiplier to apply to particles 
bScalePerUnit 
Scale size by attachment extent 
bCountPerUnit 
Scale count by attachment extent 
sAttachType 
string for EGeomType 
sAttachForm 
string for EGeomForm
 

Syntax: Entity.LoadParticleEffect( nSlot, sEffectName, fPulsePeriod, bPrime, fScale ) 

Loads CGF geometry into the entity slot.

Copyright (c) 2012. All rights reserved.