you may be on to something there, i tried once to fix that original code (long ago) but gave up and used the other way with using existing spawners instead (ssm)Apache Thunder wrote: note wreck effects don't work very well if the timeToLiveAfterDeath for the host vehicle is set to 0 or close to it
however i know i had to use rather high values for when the effect to be activated compared to the original one i posted to get it reliable
Code: Select all
ObjectTemplate.Active Elco80
ObjectTemplate.addArmorEffect 100 ArtillerySpawner 2/5/0
Code: Select all
ObjectTemplate.Active Corsair
ObjectTemplate.addArmorEffect -1 LevelBomberSpawner 0/15/-5