TurretAnimIsExclusive
Runs a building's turret animation only while its weapon is charging, in place of its second active animation.
Specification
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no
A building normally runs its turret animation and its ActiveAnimTwo at the same time. With TurretAnimIsExclusive=yes, it never runs both:
- While its weapon is charging or holds a charge, the building shows its turret animation and stops
ActiveAnimTwo. - At every other time it shows
ActiveAnimTwoand no turret animation. This includes a building that has just been built, is being repaired or has just lost its target.
ActiveAnimTwo starts again as soon as the charge is spent.
[MYOBELISK] ; a BuildingType registered in [BuildingTypes]Primary=MyChargeLaser ; a WeaponType with Charges=yesTurretAnim=MYOBEL_C ; an AnimType registered in [Animations]TurretAnimIsExclusive=yesOnly a building whose primary weapon is Charges=yes ever charges. On any other building, this flag hides the turret animation permanently.