Blockland Forums > Modification Help

More than one Particle

Pages: << < (2/3) > >>

lordician:

Any console errors?

TimSama:

You can't that way, you would have to pass both particles through the function. Try calling the function twice with both particles? Or within the function.
1.
datablock ParticleEmitterData(Unusual_BullpupTrailEmitter)
{...}
datablock ParticleEmitterData(Unusual_BullpupTrailEmitter2)
{...}

Or

2.
datablock ParticleEmitterData(Unusual_BullpupTrailEmitter)
{
  ...
     datablock ParticleEmitterData(Unusual_BullpupTrailEmitter2)
     {...}
 ...
}



Also not tested, hope it works though.

Pah1023:


--- Quote from: TimSama on November 09, 2010, 12:22:32 PM ----Snip-

--- End quote ---
You cant have a datablock inside a datablock?
Its like having a function inside a function?

lordician:


--- Quote from: TimSama on November 09, 2010, 12:22:32 PM ---You can't that way, you would have to pass both particles through the function. Try calling the function twice with both particles? Or within the function.
1.
datablock ParticleEmitterData(Unusual_BullpupTrailEmitter)
{...}
datablock ParticleEmitterData(Unusual_BullpupTrailEmitter2)
{...}

Or

2.
datablock ParticleEmitterData(Unusual_BullpupTrailEmitter)
{
  ...
     datablock ParticleEmitterData(Unusual_BullpupTrailEmitter2)
     {...}
 ...
}



Also not tested, hope it works though.

--- End quote ---
A datablock thing is not a function.
And both can't be made inside themselves.

--- Quote from: Pah1023 on November 09, 2010, 04:29:45 PM ---You cant have a datablock inside a datablock?
Its like having a function inside a function?

--- End quote ---
However, you have to make sure both datablocks exist.
But that's not done by that.

lordician:

Khain, is it working yet, if no?
If no, any console errors?

Otherwise you will have to do it on a more or less hacky way.

Pages: << < (2/3) > >>

Go to full version