setParticleClass: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (link) |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
| source '''setParticleClass''' className |= Syntax | | source '''setParticleClass''' className |= Syntax | ||
|p1= source: [[Object]] - particle source |= | |p1= source: [[Object]] - particle source |PARAMETER1= | ||
|p2= className: [[String]] - CfgCloudlets class |= | |p2= className: [[String]] - CfgCloudlets class |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
Line 26: | Line 26: | ||
_source01 [[setParticleClass]] "ObjectDestructionFire1Smallx"; | _source01 [[setParticleClass]] "ObjectDestructionFire1Smallx"; | ||
_source01 [[attachTo]] [_object,[0,0,0]]; | _source01 [[attachTo]] [_object,[0,0,0]]; | ||
</code>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setParticleFire]], [[setDropInterval]], [[drop]] |= | | [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setParticleFire]], [[setDropInterval]], [[drop]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
Description
- Description:
- Sets particle source parameters using existing particle config from CfgCloudlets class. Use setParticleParams subsequently if you need to overwrite some values.
- Groups:
- Uncategorised
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 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
- 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.