setParticleClass: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 0.50 | |||
|0.50 | |||
|arg= global | |arg= global | ||
Line 10: | Line 9: | ||
|gr1= Particles | |gr1= Particles | ||
| Sets particle source parameters using existing particle config from | |descr= Sets particle source parameters using existing particle config from {{hl|CfgCloudlets}} class. Use [[setParticleParams]] subsequently if you need to overwrite some values. | ||
{{Feature | important | If | {{Feature | important | If {{hl|CfgCloudlets}} class contains [[Simple_Expression | simple expressions]], they will not be evaluated by this command, which might make the whole class unusable in script.}} | ||
| source | |s1= source [[setParticleClass]] className | ||
|p1= source: [[Object]] - particle source | |p1= source: [[Object]] - particle source | ||
Line 19: | Line 18: | ||
|p2= className: [[String]] - CfgCloudlets class | |p2= className: [[String]] - CfgCloudlets class | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
| [ | |x1= <sqf> | ||
_source01 = "#particlesource" createVehicleLocal _pos01; | |||
_source01 setParticleClass "ObjectDestructionFire1Smallx"; | |||
_source01 attachTo [_object,[0,0,0]]; | |||
</sqf> | |||
| | |seealso= [[Arma 3: Particle Effects]] [[ParticleArray]] [[setParticleParams]] [[setParticleRandom]] [[setParticleCircle]] [[setParticleFire]] [[setDropInterval]] [[drop]] | ||
}} | }} | ||
<dl class="command_description"> | |||
<dt></dt> | |||
<dd class="notedate">Posted on 2015-06-28 - 21:17 (UTC)</dd> | |||
< | |||
< | |||
<dd class="notedate">Posted on | |||
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt> | <dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
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. | 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. | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
Latest revision as of 11:34, 3 September 2024
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 2015-06-28 - 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.