Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::LoadParticleEffect Method
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) bPrime 
Whether effect starts fully primed to equilibrium state. 
(optional) fPulsePeriod 
Time period between particle effect restarts. 
(optional) fScale 
Size scale to apply to particles 
(optional) fCountScale 
Count multiplier to apply to particles 
(optional) bScalePerUnit 
Scale size by attachment extent 
(optional) bCountPerUnit 
Scale count by attachment extent 
(optional) sAttachType 
string for EGeomType 
(optional) sAttachForm 
string for EGeomForm 

!

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

! Loads CGF geometry into the entity slot.!  

!  

!  

!  

!  

!  

!  

!  

!  

!  

 

Copyright (c) 2012. All rights reserved.