setParticleClass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set parameters from config class. ClassName is name of the class from CfgCloudlets. |= Description
| Set parameters from existing config class. ClassName is name of the class from CfgCloudlets.  
 
Since version 1.11.114706 you can use [[setParticleParams]] to overwrite many values set by config class, particularity those defined in [[ParticleArray]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 21:




|x1= <code>
|x1= <code>_source01 = "#particlesource" [[createVehicleLocal]] _pos01;
_source01 [[setParticleClass]] "ObjectDestructionFire1Smallx";
_source01 [[attachTo]] [_object,[0,0,0]];
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setParticleFire]], [[setDropInterval]], [[drop]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 15:24, 24 January 2014

Hover & click on the images for description

Description

Description:
Set parameters from existing config class. ClassName is name of the class from CfgCloudlets. Since version 1.11.114706 you can use setParticleParams to overwrite many values set by config class, particularity those defined in ParticleArray.
Groups:
Uncategorised

Syntax

Syntax:
source setParticleClass className
Parameters:
source: Object
className: String
Return Value:
Nothing

Examples

Example 1:
_source01 = "#particlesource" createVehicleLocal _pos01; _source01 setParticleClass "ObjectDestructionFire1Smallx"; _source01 attachTo [_object,[0,0,0]];

Additional Information

See also:
Arma 3 Particle EffectsParticleArraysetParticleParamssetParticleRandomsetParticleCirclesetParticleFiresetDropIntervaldrop

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section