<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Specific unit type attack trigger]]></title><description><![CDATA[<p dir="auto">Is there a way to set up conditions waiting for a specific unit type to do an attack move? Like if there is an instance of this unit type doing an attack this trigger will go off just before dice rolls?</p>
<p dir="auto">The reason I ask is that the nukes in Iron War is not as cool as in Age of Tribes (they make a mushroom <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f344.png?v=a29b9178373" class="not-responsive emoji emoji-android emoji--mushroom" style="height:23px;width:auto;vertical-align:middle" title="🍄" alt="🍄" />) but in Iron War there is no effect. It would be nice to pop up a picture notification of a nuke going off.</p>
]]></description><link>https://forums.triplea-game.org/topic/130/specific-unit-type-attack-trigger</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 23:53:32 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/130.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Jun 2017 10:51:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Specific unit type attack trigger on Thu, 01 Jun 2017 22:13:26 GMT]]></title><description><![CDATA[<p dir="auto">I think what needs to be added to the game at some point is "attack animations or cut sequences".  These, by default would be on, but could be turned off by a user.  Right now the only way to approximate this is in specific scenarios using kamikaze type attacks or pre-programmed choices.</p>
]]></description><link>https://forums.triplea-game.org/post/1165</link><guid isPermaLink="true">https://forums.triplea-game.org/post/1165</guid><dc:creator><![CDATA[Zim Xero]]></dc:creator><pubDate>Thu, 01 Jun 2017 22:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to Specific unit type attack trigger on Thu, 01 Jun 2017 18:31:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redrum" aria-label="Profile: redrum">@<bdi>redrum</bdi></a><br />
Well, you could do it with 1 trigger per player, but you would still need a number of conditions equal to three times the number of territories in the map, per player, one for testing if the territory is enemy, by checking that <em>directOwnership</em> and <em>alliedOwnership</em> are both false (you can't test <em>enemyOwnership</em>) or by just checking for <em>enemyPresence</em>, in case territories without units would not matter and the case of enemies in not hostile territories would be comprehensive; then another for testing if the territory contains a nuke of yours; then another set of conditions per territory to test if both the above are true; then such all high level conditions referenced in a trigger with an OR relationship.</p>
<p dir="auto">What is currently supported for <em>directPresence</em> is:</p>
<blockquote>
<p dir="auto">directPresenceTerritories 			values: "original", "originalNoWater", "controlled", "controlledNoWater", "all" (all = original + controlled), "map" (map = all territories on map), or a : delimited list of territories</p>
</blockquote>
<p dir="auto">For doing it with 1 condition, <em>directPresenceTerritories</em> would need having a value like "hostile" (besides "controlled" etc.); then it would be possible doing it with a single trigger and a single condition per turn player. Still, this way, you would just get the info that 1+ nukes are getting used; I'm not sure how much neat would that be, if it is the same notification, no matter if you are using 1, 2 or whatever, in 1 or more territories.<br />
Also, it is not possible testing how many units of any kind there are in the map, with 1 single condition; you can only test how many units there are in each territory.</p>
]]></description><link>https://forums.triplea-game.org/post/1149</link><guid isPermaLink="true">https://forums.triplea-game.org/post/1149</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Thu, 01 Jun 2017 18:31:34 GMT</pubDate></item><item><title><![CDATA[Reply to Specific unit type attack trigger on Thu, 01 Jun 2017 18:05:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redrum" aria-label="Profile: redrum">@<bdi>redrum</bdi></a> said in <a href="/post/1135">Specific unit type attack trigger</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostion" aria-label="Profile: Frostion">@<bdi>Frostion</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: Cernel">@<bdi>Cernel</bdi></a> Can't you just check if any nuke type unit exists in an enemy owned territory in a single trigger condition and have the fire before battle phase?</p>
</blockquote>
<p dir="auto">Nope.</p>
]]></description><link>https://forums.triplea-game.org/post/1147</link><guid isPermaLink="true">https://forums.triplea-game.org/post/1147</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Thu, 01 Jun 2017 18:05:38 GMT</pubDate></item><item><title><![CDATA[Reply to Specific unit type attack trigger on Thu, 01 Jun 2017 14:40:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostion" aria-label="Profile: Frostion">@<bdi>Frostion</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: Cernel">@<bdi>Cernel</bdi></a> Can't you just check if any nuke type unit exists in an enemy owned territory in a single trigger condition and have the fire before battle phase?</p>
]]></description><link>https://forums.triplea-game.org/post/1135</link><guid isPermaLink="true">https://forums.triplea-game.org/post/1135</guid><dc:creator><![CDATA[redrum]]></dc:creator><pubDate>Thu, 01 Jun 2017 14:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to Specific unit type attack trigger on Thu, 01 Jun 2017 13:45:25 GMT]]></title><description><![CDATA[<p dir="auto">I was hopeing for a solution that would not require thousands of triggers <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f641.png?v=a29b9178373" class="not-responsive emoji emoji-android emoji--slightly_frowning_face" style="height:23px;width:auto;vertical-align:middle" title="🙁" alt="🙁" /> A shame that there is not a condition attachment that keeps a lookout for who and what is about to do battle. Thanks anyway Cernel <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f644.png?v=a29b9178373" class="not-responsive emoji emoji-android emoji--face_with_rolling_eyes" style="height:23px;width:auto;vertical-align:middle" title="🙄" alt="🙄" /></p>
]]></description><link>https://forums.triplea-game.org/post/1134</link><guid isPermaLink="true">https://forums.triplea-game.org/post/1134</guid><dc:creator><![CDATA[Frostion]]></dc:creator><pubDate>Thu, 01 Jun 2017 13:45:25 GMT</pubDate></item><item><title><![CDATA[Reply to Specific unit type attack trigger on Thu, 01 Jun 2017 13:14:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostion" aria-label="Profile: Frostion">@<bdi>Frostion</bdi></a> For a normal unit that you send to attack a defended territory (if it works this way), just make, for each turn player, a trigger that test, for each territory in the map, if in that territory there is that unit owned by the turn player and the territory itself is enemy owned, and have this trigger firing before the battle phase. You can either have 1 notification per player or each notification telling exactly what territory you are nuking. Yes, you need a number of triggers equal to the nuke-allowed players multiplied by the number of nukable territories in the map, and a number of conditions at least twice as many.</p>
]]></description><link>https://forums.triplea-game.org/post/1131</link><guid isPermaLink="true">https://forums.triplea-game.org/post/1131</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Thu, 01 Jun 2017 13:14:34 GMT</pubDate></item></channel></rss>