MaxDebris: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
== On a VehicleType == | == On a VehicleType == | ||
When this VehicleType is destroyed, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|ExplosiveVoxelDebris|link}} list , or the {{f|DebrisTypes|link}} list on the unit, if that is set. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). | When this VehicleType is destroyed, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|ExplosiveVoxelDebris|link}} list , or the {{f|DebrisTypes|link}} list on the unit, if that is set. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). | ||
== On a Warhead == | == On a Warhead == | ||
'''Note:''' This section is for YR only. | '''Note:''' This section is for YR only. | ||
When this warhead detonates, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|MetallicDebris|link}} list at the impact point. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). | When this warhead detonates, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|MetallicDebris|link}} list at the impact point. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). | ||
==Note== | ==Note== | ||
If <b>Max Debris=0</b> but [[MinDebris]] is greater than 0 The amount of debris always uses [[MinDebris]]. ;For example: {{f|MinDebris|10|link}} <b>MaxDebris=0</b> | *If <b>Max Debris=0</b> but [[MinDebris]] is greater than 0 The amount of debris always uses [[MinDebris]]. ;For example: {{f|MinDebris|10|link}} <b>MaxDebris=0</b> | ||
*'''MaxDebris=1''' There is a 50% chance that debris will form If you want to have a 100% chance of debris You will need to define the following:<br> | |||
'''[TechnoTypes]'''<br> | |||
'''MinDebris=x'''<br> | |||
'''MaxDebris=2'''<br> | |||
'''DebrisTypes=VoxelAnims,VoxelAnims'''<br> | |||
'''DebrisMaximums=1,0'''(1 For [[VoxelAnims]] that you want to actually happen)<br> | |||
== See Also == | == See Also == | ||
*[[MinDebris]] | *[[MinDebris]] | ||
*[[DebrisTypes]] | *[[DebrisTypes]] | ||
*[[DebrisMaximums]] | *[[DebrisMaximums]] |