Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local randomizedExplosions = {
- smallExplosionGeneric,
- mediumExplosionGeneric,
- largeExplosionGeneric,
- hugeExplosionGeneric,
- smallExplosionGenericBlue,
- mediumExplosionGenericBlue,
- largeExplosionGenericBlue,
- hugeExplosionGenericBlue,
- },
- for name, ud in pairs(UnitDefs) do
- ud.explodeAs = randomizedExplosions[math.rand(#randomizedExplosions)],
- ud.selfDestructAs = randomizedExplosions[math.rand(#randomizedExplosions)],
- end
Advertisement
Add Comment
Please, Sign In to add comment