Flamesword
New Member
- Reaction score
- 0
I'm trying to make an ability that poisons targets within a radius of a unit. I used "Fan of Knives" as a base, and am trying to use a dummy unit to do the poison damage. I added "Envenomed Spears" to the dummy unit, and tried using this trigger to make him attack the targets, thereby adding the poison buff.
Events
---Unit - Eco Knight begins casting an ability
Conditions
---(Ability being cast) Equal to Nature's Wrath
Actions
---Pick every unit in (Units within 400 of (Position of Eco Knight)) and do (Actions)
- -Loop - Actions
- -If - ((Picked Unit) belongs to an enemy of Player 7)
- -Then - Order Eco Knight Dummy to Attack Once (Picked Unit)
- -Else - Do nothing
---Order Eco Knight Dummy to Follow Eco Knight
Naturally, I want the Dummy to follow the Eco Knight so that he will be present whenever "Nature's Wrath" is cast. He already has an order to follow him as the map initializes, so I want to give him that order again once this trigger finishes. No matter how it looks here, that follow order is not part of the looped actions. However, giving him another order at the end of this trigger ultimately negates all of the attack orders. Can anyone think of a way around this?
On a side note, I've noticed there is some way to add little windows to these messages that can properly display trigger text. Can anyone tell me how to do that too?
Events
---Unit - Eco Knight begins casting an ability
Conditions
---(Ability being cast) Equal to Nature's Wrath
Actions
---Pick every unit in (Units within 400 of (Position of Eco Knight)) and do (Actions)
- -Loop - Actions
- -If - ((Picked Unit) belongs to an enemy of Player 7)
- -Then - Order Eco Knight Dummy to Attack Once (Picked Unit)
- -Else - Do nothing
---Order Eco Knight Dummy to Follow Eco Knight
Naturally, I want the Dummy to follow the Eco Knight so that he will be present whenever "Nature's Wrath" is cast. He already has an order to follow him as the map initializes, so I want to give him that order again once this trigger finishes. No matter how it looks here, that follow order is not part of the looped actions. However, giving him another order at the end of this trigger ultimately negates all of the attack orders. Can anyone think of a way around this?
On a side note, I've noticed there is some way to add little windows to these messages that can properly display trigger text. Can anyone tell me how to do that too?