Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local randomizedExplosions = {
- smallExplosionGeneric,
- mediumExplosionGeneric,
- largeExplosionGeneric,
- hugeExplosionGeneric,
- smallExplosionGeneric-blue,
- mediumExplosionGeneric-blue,
- largeExplosionGeneric-blue,
- hugeExplosionGeneric-blue,
- },
- 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