Page 2 of 2

Posted: Wed Jun 30, 2010 8:38 pm
by freddy
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
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)

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
this seems to be just for boats as i can use other values just fine for spwawning rafts only when planes dies from water damage (-1)

Code: Select all

ObjectTemplate.Active Corsair
ObjectTemplate.addArmorEffect -1 LevelBomberSpawner 0/15/-5