Attacker hits.
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Attacker hits.
Hello,
I need to ask, because wiki is a little too concise on the matter. Is it possible to fire an event if a specific unit, e.g., race=dwarf, fires a ranged attack and hits?
What I want to achieve is to trigger an event after a Dwarf Thundered line unit fires its musket (and hits, thereby generating noise).
Thanks in advance.
I need to ask, because wiki is a little too concise on the matter. Is it possible to fire an event if a specific unit, e.g., race=dwarf, fires a ranged attack and hits?
What I want to achieve is to trigger an event after a Dwarf Thundered line unit fires its musket (and hits, thereby generating noise).
Thanks in advance.
- Pentarctagon
- Project Manager
- Posts: 5732
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Attacker hits.
You'd use the [filter] and [filter_attack] tags for that.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code