Jump to content

ConditionYellowSparkingProbability: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Defines the percentage chance that an object will spawn the particle system defined with DefaultSparkSystem= (see Particle System Defaults) when its health bar is yellow.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{values|percentage}}
|default=0.01 (1%)
|types={{Categ|General}}
|ts=yes
|fs=yes
|ra2=yes
|yr=yes
}}
 
Defines the chance that infantry with yellow health will spawn a random particle system from the {{f|DamageParticleSystems|link}} list that has {{f|BehavesLike|Spark|link}} set.
 
=={{Bugs}}==
This logic only works for infantry with {{f|Cyborg|yes|link}}, and it may behave in an unexpected way. See {{f|DamageParticleSystems|link}}.
 
== See also ==
* [[ConditionRedSparkingProbability]]
 
[[Category:Unlisted Flags]]

Latest revision as of 17:16, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ConditionYellowSparkingProbability
File(s): Rules(md).ini
Values: Percentages: Either a direct percentage (e.g. "50%"), or a floating point value (e.g. "0.5").
Default: 0.01 (1%)
Applicable to: General


Defines the chance that infantry with yellow health will spawn a random particle system from the DamageParticleSystems list that has BehavesLike=Spark set.

Bugs/Side-Effects/Unexpected Limitations

This logic only works for infantry with Cyborg=yes, and it may behave in an unexpected way. See DamageParticleSystems.

See also