Skip to content

42 — Do Explosion At...

Changed in 0.2.0

Detonates a weapon's damage and warhead at a waypoint, with no firer, projectile or firing effects.

Editor data
Numeric ID
42
Engine ID
TACTION_DO_EXPLOSION
Editor name
Do Explosion At...
Need token
NEED_WEAPON_AND_LOCATION
Parameters
  1. Weaponweapon
  2. Waypointwaypoint
Attachment
none
INI example
[Actions]
<TriggerID>=1,42,0,<Weapon>,0,0,0,0,<Waypoint>

Only the weapon’s Damage and Warhead are used. Its range, rate of fire, projectile, sounds and firing animation have no effect. The blast happens at the waypoint’s cell at ground height, raised by the bridge height where a bridge covers or has covered that cell.

The blast has these effects, in this order:

  1. The warhead’s explosion animation for that amount of damage on that terrain plays, if the warhead has one.
  2. The lighting flash for that damage and warhead is applied.
  3. The damage is dealt, on the same terms as any other blast from that warhead.

A weapon whose ID is empulseweapon, in any letter case, also creates an EM pulse after the blast.

A weapon written only for this action still needs a line in the [Weapons] list. A weapon section that nothing names is never registered, so no position selects it.

An object the blast damages does not spring Half health (combat only), Quarter health (combat only) or First damaged (combat only) on its tag, even when the blast destroys it. Half health (any source), Quarter health (any source) and First damaged (any source) still spring.

An object that survives the blast also does not spring Attacked by any house or Attacked by (house)….

An object the blast destroys does not spring Destroyed by any house, Attacked by any house or Discovered by player on its tag. Destroyed by anything and its no-infiltrate form still spring.

Valid values

  • A position in the rules weapon list, counted from 0, and a scenario waypoint.
Caveats
  • The weapon is chosen by position, not by name. Adding, removing or reordering a line in the rules [Weapons] list shifts every number already stored in a map. A weapon that list leaves out is numbered where it is first named instead.
  • A position at or beyond the end of the weapon list detonates nothing.
  • The blast has no firer. The damage it deals raises no house's anger, no house is credited with its kills, and nothing gains veterancy from them.
  • Objects the blast damages or destroys do not spring the trigger events that need an attacker. [Trigger events the blast does not spring](#trigger-events-the-blast-does-not-spring) lists them.

History

  1. Changed0.2.0In development

    Bound the weapon a Do Explosion At action names