setParticleParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}") |
||
Line 82: | Line 82: | ||
[[Category:Scripting Commands OFP Elite |SETPARTICLEPARAMS]] | [[Category:Scripting Commands OFP Elite |SETPARTICLEPARAMS]] | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} | ||
{{GameCategory|arma2|Scripting Commands}} | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 04:30, 9 January 2021
Description
- Description:
- Set parameters to particle source. Array is in format ParticleArray.
Since Arma 3 version 1.11.114706 you can use this command to overwrite many values set by setParticleClass, particularity those defined in ParticleArray. Correspondence between CfgCloudlets class param names and command array of params:particleSource setParticleParams [ /* String or Array - If string then the name of the particleShape. And following default values are used: particleFSNtieth = 1 particleFSIndex = 0 particleFSFrameCount = 1 particleFSLoop = 1 */ [ particleShape, /*String*/ particleFSNtieth, /*Number*/ particleFSIndex, /*Number*/ particleFSFrameCount, /*Number*/ particleFSLoop /*Optional - Number. Default: 1*/ ], animationName, /*String*/ particleType, /*String - Enum: Billboard, SpaceObject*/ timerPeriod, /*Number*/ lifeTime, /*Number*/ position, /*3D Array of numbers as relative position to particleSource or (if object at index 18 is set) object. Or (if object at index 18 is set) String as memoryPoint of object.*/ moveVelocity, /*3D Array of numbers.*/ rotationVelocity, /*Number*/ weight, /*Number*/ volume, /*Number*/ rubbing, /*Number*/ size, /*Array of Number*/ color, /*Array of Array of RGBA Numbers*/ animationSpeed, /*Array of Number*/ randomDirectionPeriod, /*Number*/ randomDirectionIntensity, /*Number*/ onTimerScript, /*String*/ beforeDestroyScript, /*String*/ this, /*Object*/ angle, /*Optional Number - Default: 0*/ onSurface, /*Optional Boolean*/ bounceOnSurface, /*Optional Number*/ emissiveColor, /*Optional Array of Array of RGBA Numbers*/ vectorDir /*Optional 3D Array Vector dir. Since Arma 3 v1.92 it is possible to set the initial direction of the SpaceObject */ ];
- Groups:
- Particles
Syntax
- Syntax:
- particleSource setParticleParams array
- Parameters:
- particleSource: Object
- array: Array - format ParticleArray
- Return Value:
- Nothing
Examples
- Example 1:
- see ParticleArray
Additional Information
- See also:
- Arma 3 Particle EffectsParticleArraysetParticleClasssetParticleRandomsetParticleCirclesetParticleFiresetDropIntervaldrop
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Particles
- Scripting Commands: Local Effect
- Scripting Commands OFP Elite
- Arma 2: Scripting Commands
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters