- Joined
- Feb 27, 2006
- Messages
- 49
how do i make trigger that stops players from attacking their allies like in the early dota versions a player would get hexed if they try to attack their allies
i made this trigger but it doesn't work
Unit - A unit Is attacked
Conditions
((Attacked unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True
Actions
Unit - Create 1 Dummy for (Owner of (Attacked unit)) at (Position of (Attacking unit)) facing Default building facing degrees
Unit - Order (Last created unit) to Orc Shadow Hunter - Hex (Attacking unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
i made this trigger but it doesn't work
Unit - A unit Is attacked
Conditions
((Attacked unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True
Actions
Unit - Create 1 Dummy for (Owner of (Attacked unit)) at (Position of (Attacking unit)) facing Default building facing degrees
Unit - Order (Last created unit) to Orc Shadow Hunter - Hex (Attacking unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)