setParticleClass: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4 $5 $6</code>") |
||
Line 20: | Line 20: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>_source01 = "#particlesource" | |x1= <code>_source01 = "#particlesource" createVehicleLocal _pos01; | ||
_source01 [[setParticleClass]] "ObjectDestructionFire1Smallx"; | _source01 [[setParticleClass]] "ObjectDestructionFire1Smallx"; | ||
_source01 [[attachTo]] [_object,[0,0,0]]; | _source01 [[attachTo]] [_object,[0,0,0]]; |
Revision as of 12:47, 12 May 2022
Description
- Description:
- Sets particle source parameters using existing particle config from CfgCloudlets class. Use setParticleParams subsequently if you need to overwrite some values.
- Groups:
- Particles
Syntax
- Syntax:
- source setParticleClass className
- Parameters:
- source: Object - particle source
- className: String - CfgCloudlets class
- 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 Effects ParticleArray setParticleParams setParticleRandom setParticleCircle setParticleFire setDropInterval drop
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
- Posted on June 28, 2015 - 21:17 (UTC)
- Waffle SS.
- This can be very useful for getting features that can't normally be added with commands, such as AI view blocking and particles that can only be above/underwater.