Suicide Units don't fire if not accompanied by non suicide units
-
Example - Domination 1914 No Man's Land. Has Gas suicide unit that on attack suicides. If you have a gas only attack, all that happens is all the gas you send dies without dealing damage. This seems like a bug
Any known workaround?
-
@scallen1 I'm moving this to mapmaking, as definitely it isn't a bug report.
The reason why gas in NML doesn't do anything but getting captured if alone is because it is an infrastructure. The main reason (that I know, since I talked extensively with Imbaked during the making of Domination NML) why it is an infrastructure stems from the fact that it is not wanted for it to suicide on defence, neither to be taken as casualty. I assume you can make a feature request for a property that gives priority to the suicide ability over the infrastructure characteristic, so that suicidal infrastructures will suicide rather than getting captured, if alone. I think such a behaviour may generally have a good use in representing shells in more operational level maps.
-
@scallen1 said in Suicide Units don't fire if not accompanied by non suicide units:
Any known workaround?
You could have triggers keeping switching off and on the infrastructure option before combat move and after combat resolution, but this is a hack.
-
@cernel Thank you. I'm trying to create suicide units I'd like to use on their own and this info helps
-
@scallen1 @Cernel @wc_sumpton I'm having a similar problem with a new suicide unit I've created called "bomb." The idea is that strategic bombers will create (via trigger) two bombs before each battle; each bomb will then get one roll @ 2, and then the bomb is destroyed regardless of whether it hit or not.
The triggers that create the bombs are working just fine. However, even when I send a normal unit like a destroyer along with the bomber, my bombs are suiciding before they ever get to roll, as shown in the attached screenshot. My bombs are not infrastructure. Any ideas about how to fix this? I'm open to other ways of implementing the single-shot bombing, as long as it isn't limited to amphibious attacks or anti-air hits; the bombing needs to work against ground targets in a landlocked territory.
<attachment name="unitAttachment" attachTo="bomb" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType"> <option name="movement" value="0"/> <option name="isAir" value="true"/> <option name="isSuicide" value="true"/> <option name="attack" value="2"/> <option name="defense" value="0"/> </attachment>
-
Try isSuicideOnAttack or a variant but not isSuicide, as I dont think it works.
-
@thedog That worked, thanks!