Skip to content

Effect

Built-in constants:

rand v none blockCrash trailFade unitSpawn unitCapKill unitEnvKill unitControl unitDespawn unitSpirit itemTransfer pointBeam pointHit lightning coreBuildShockwave coreBuildBlock pointShockwave moveCommand attackCommand commandSend upgradeCore upgradeCoreBloom placeBlock coreLaunchConstruct tapBlock breakBlock payloadDeposit select smoke fallSmoke unitWreck rocketSmoke rocketSmokeLarge magmasmoke spawn unitAssemble padlaunch breakProp unitDrop unitLand unitDust unitLandSmall unitPickup crawlDust landShock pickup sparkExplosion titanExplosion titanSmoke missileTrailSmoke neoplasmSplat scatheExplosion scatheLight scatheSlash dynamicSpikes greenBomb greenLaserCharge greenLaserChargeSmall greenCloud healWaveDynamic healWave heal dynamicWave shieldWave shieldApply disperseTrail hitBulletSmall hitBulletColor hitSquaresColor hitFuse hitBulletBig hitFlameSmall hitFlamePlasma hitLiquid hitLaserBlast hitEmpSpark hitLancer hitBeam hitFlameBeam hitMeltdown hitMeltHeal instBomb instTrail instShoot instHit hitLaser hitLaserColor despawn airBubble flakExplosion plasticExplosion plasticExplosionFlak blastExplosion sapExplosion massiveExplosion artilleryTrail incendTrail missileTrail missileTrailShort colorTrail absorb forceShrink flakExplosionBig burning fireRemove fire fireHit fireSmoke neoplasmHeal steam ventSteam drillSteam fluxVapor vapor vaporSmall fireballsmoke ballfire freezing melting wet muddy sapped electrified sporeSlowed oily overdriven overclocked dropItem shockwave bigShockwave spawnShockwave explosion dynamicExplosion reactorExplosion impactReactorExplosion blockExplosionSmoke smokePuff shootSmall shootSmallColor shootHeal shootHealYellow shootSmallSmoke shootBig shootBig2 shootBigColor shootTitan shootBigSmoke shootBigSmoke2 shootSmokeDisperse shootSmokeSquare shootSmokeSquareSparse shootSmokeSquareBig shootSmokeTitan shootSmokeSmite shootSmokeMissile regenParticle regenSuppressParticle regenSuppressSeek surgeCruciSmoke neoplasiaSmoke heatReactorSmoke circleColorSpark colorSpark colorSparkBig randLifeSpark shootPayloadDriver shootSmallFlame shootPyraFlame shootLiquid casing1 casing2 casing3 casing4 casing2Double casing3Double railShoot railTrail railHit lancerLaserShoot lancerLaserShootSmoke lancerLaserCharge lancerLaserChargeBegin lightningCharge sparkShoot lightningShoot thoriumShoot reactorsmoke redgeneratespark turbinegenerate generatespark fuelburn incinerateSlag coreBurn plasticburn conveyorPoof pulverize pulverizeRed pulverizeSmall pulverizeMedium producesmoke artilleryTrailSmoke smokeCloud smeltsmoke coalSmeltsmoke formsmoke blastsmoke lava dooropen doorclose dooropenlarge doorcloselarge generate mineWallSmall mineSmall mine mineBig mineHuge mineImpact mineImpactWave payloadReceive teleportActivate teleport teleportOut ripple bubble launch launchPod healWaveMend overdriveWave healBlock healBlockFull rotateBlock lightBlock overdriveBlockFull shieldBreak arcShieldBreak coreLandDust unitShieldBreak chainLightning chainEmp legDestroy debugLine debugRect

Effect

extends Object

field type default notes
id int 389
renderer Cons {code}
lifetime float 50.0
clip float 0.0 Clip size.
startDelay float 0.0 Time delay before the effect starts
baseRotation float 0.0 Amount added to rotation
followParent boolean true If true, parent unit is data are followed.
rotWithParent boolean false If this and followParent are true, the effect will offset and rotate with the parent's rotation.
layer float 110.0
layerDuration float 0.0