101 void attach(
int particleFX_HND,
int EntityID,
float x,
float y,
float z,
int flipDirection );
225 int spawnEffect(
int particleFX_ID,
float posx,
float posy,
float posz);
365 void lookAtObj(
int particleFX_ID,
int objID);
383 void lookAtPoint(
int particleFX_ID,
float x,
float y,
float z);
402 void setScale(
int particleFX_ID,
float scalex,
float scaley,
float scalez);
421 void setRotation(
int particleFX_ID,
float rotw,
float rotx,
float roty,
float rotz);
554 int PU_Run(
int PU_ID,
float posx,
float posy,
float posz);
595 PU_Stop(
int PU_ID,
int fadeoutTime);
void particle setRenderOrder(hndl, order)
particle.setRenderOrder(hndl, order);
PU_setRenderOrder(int PU_ID, int order)
This function will set the render order of a Particle Universe(PU) effect.
void deleteParticleFX(int particleFX_hnd)
This Function deletes a particle effect with the id of particleFX_ID.
void attach(int particleFX_HND, int EntityID, float x, float y, float z, int flipDirection)
This Function attaches the particle to another object.
void setEmitting(int particleFX_hnd, int state)
Sets whether a particle emitter is emitting particles or not.
void setRotation(int particleFX_ID, float rotw, float rotx, float roty, float rotz)
Set the Rotation of the particle effect whose ID equals particleFX_ID.
void setParticleSpeed(int particleFX_hnd, float speed)
Sets the Speed of the particle effects movements.
void changeParticleData(int particleFX_ID, string filename)
This Function Changes the template data for this sky particle to the data provide in the new file...
void setParticlePosition(int particleFX_ID, float posx, float posy, float posz)
Set the position of the particle effect whose ID equals particleFX_ID.
void setEffectName(string name)
This Function sets the name if the particle effect.
int createParticleFX()
Creates a new Ogre particle effect ready for spawning.
void setEffectDuration(int duration)
This Function sets a particle effects life time duration.
int createSkyParticleFX()
Creates a new SkyParticle effect ready for spawning.
void setEmitterRate(int particleFX_hnd, int rate)
Sets the rate of the particle emitter.
int spawnEffect(int particleFX_ID, float posx, float posy, float posz)
This function will spawn an existing Ogre particle system to the provided position.
int PU_Create()
Creates a new Particle Universe particle effect ready for spawning.
PU_Stop(int PU_ID, int fadeoutTime)
This function will Stop a running Particle Universe(PU) effect..
Definition: LUA_API_Particle.h:71
Definition: LUA_API_States.h:28
void setVisibleDistance(float distance)
Visible distance for the effect.
void lookAtObj(int particleFX_ID, int objID)
Aim the particle rotation towards an object.
void lookAtPoint(int particleFX_ID, float x, float y, float z)
Set the target position of the particle effect whose ID equals particleFX_ID.
int spawnSkyParticleEffect(int particleFX_ID, float posx, float posy, float posz)
This function will spawn an existing SkyParticle effect to the provided position. ...
int PU_Run(int PU_ID, float posx, float posy, float posz)
This function will Run an existing Particle Universe(PU) effect in the provided position.
void setScale(int particleFX_ID, float scalex, float scaley, float scalez)
Set the scale of the particle effect whose ID equals particleFX_ID.
void setEffectFile(String filename)
Set the file name of the particle effect to load.
PU_Pause(int PU_ID, int pauseTime)
This function will Pause a running Particle Universe(PU) effect for the time passed in the arg...