additionalStates: toggle_safety: - events: - code: VariableSet name: healthtriggershield1 value: '0' - code: StartEffect name: Shielded value: '1.0' name: initial transitions: - code: Auto toState: main value: '0' - events: - code: StopEffect name: Shielded value: '1.0' name: main transitions: - code: And subconditions: - code: HealthBelow value: '0.5' - code: VariableBelow name: healthtriggershield1 value: '1' toState: healthtriggershield1 - events: - code: Spawn delay: '0.0' name: tut_05_centipede01_2 offset: angle: '120' distance: '1' isRelative: 'true' value: '1' - code: Spawn delay: '0.0' name: tut_05_centipede01_2 offset: angle: '160' distance: '1' isRelative: 'true' value: '1' - code: Spawn delay: '0.0' name: tut_05_centipede01_2 offset: angle: '200' distance: '1' isRelative: 'true' value: '1' - code: Spawn delay: '0.0' name: tut_05_centipede01_2 offset: angle: '240' distance: '1' isRelative: 'true' value: '1' name: healthtriggershield1 substates: - events: - code: VariableSet name: healthtriggershield1 value: '1' - code: StartEffect delay: '0.0' name: Shielded value: '1.0' - code: StartEffect delay: '0.1' name: Shielded value: '1.0' - code: StartEffect delay: '0.2' name: Shielded value: '1.0' - code: StartEffect delay: '0.3' name: Shielded value: '1.0' - code: StartEffect delay: '0.4' name: Shielded value: '1.0' name: healthtriggershield1_0 transitions: - code: Time toState: healthtriggershield1_0 value: '0.5' transitions: - code: Time toState: main value: '15' art: EnemyNaviLeader artScale: '1.6' cameraZoomMultiplier: '1.25' cameraZoomRadius: '24.00' colliderHeight: '2.85' colliderWidth: '3' colliderX: '0' colliderY: '0' energyRegenRate: '0' explosionPrefab: planeExplosionEmpty gunMounts: - fireMode: JustShootDammit firingArc: '360' flashOffset: '2' gunTemplateName: tut_05_navileaderGun mountAngle: '0' mountName: main offset: - '0' - '0' slewRate: '20' - fireMode: JustShootDammit firingArc: '0' flashOffset: '50.6' gunTypeConfig: bulletPrefab: shurikenBullet bulletSize: '2.5' burst: '100' cooldown: '10000' damage: '0.66' lifetime: '5' multi: '1' multiSpread: '0' name: hammer rof: '5' speed: '7' spread: '4' mountAngle: '0' mountName: main2 offset: - '0' - '-50' slewRate: '0' gunTypes: - bulletPrefab: spinnerBullet burst: '100' cooldown: '2' damage: '0.33' lifetime: '4' multi: '12' multiSpread: '122' name: tut_05_navileaderGun rof: '2' speed: '5' spread: '0' healthRegenRate: '0' maxEnergyPoints: '1' maxHitPoints: '666' maxSpeed: '0.2' maxTurnRate: '60' minSpeed: '0.1' spawnInvulnerabilitySeconds: '2' templateName: tut_05_navileader tier: '3' trailLength: '3' xpMultiplier: '1.3'