HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dota how can do this ?!?

07-11-2009, 03:23 PM#1
Vulcan
Trigger:
Untitled Trigger 001
Collapse Events
Unit - A unit Is attacked
Collapse Conditions
(((Attacking unit) belongs to an enemy of (Owner of (Attacked unit))) Equal to True) and ((((Attacking unit) is A Hero) Equal to True) and (((Attacked unit) is A Hero) Equal to True))
Collapse Actions
Collapse Unit Group - Pick every unit in (Units within 750.00 of (Position of (Attacked unit)) matching (((Matching unit) belongs to an ally of (Owner of (Attacked unit))) Equal to True)) and do (Actions)
Collapse Loop - Actions
Game - Display to (All players) the text: sdfsdf
Unit - Order (Picked unit) to Attack (Attacking unit)

I prepared only this but i want to this
when creeps starts engaging enemy hero and enemy hero will cancel the attack of the enemy hero, creeps resume doing whatever else they were doing before. What can i do this ? i really need to this trigger.
07-11-2009, 03:32 PM#2
DioD
save creep order then check every second order of attacking hero, when attack ends restore order.

check resource section there are at least two systems for this.
07-11-2009, 03:41 PM#3
Vulcan
I looked but i cannot find. Can you link it for me ?
07-11-2009, 03:50 PM#4
Vulcan
I cannot find but still i'm trying to do. This will be work ?

Note: This trigger must be gui !

Trigger:
Untitled Trigger 001
Collapse Events
Unit - A unit Is attacked
Collapse Conditions
(((Attacking unit) belongs to an enemy of (Owner of (Attacked unit))) Equal to True) and ((((Attacking unit) is A Hero) Equal to True) and (((Attacked unit) is A Hero) Equal to True))
Collapse Actions
Collapse Unit Group - Pick every unit in (Units within 750.00 of (Position of (Attacked unit)) matching (((Matching unit) belongs to an ally of (Owner of (Attacked unit))) Equal to True)) and do (Actions)
Collapse Loop - Actions
Set Attack_Unit = (Picked unit)
Unit - Order Attack_Unit to Attack (Attacking unit)
Game - Display to (All players) the text: sdfsdf






Trigger:
Untitled Trigger 001 Copy 2
Collapse Events
Unit - A unit Is attacked
Collapse Conditions
(Attacked unit) Equal to Attack_Unit
Collapse Actions
Unit - Order Attack_Unit to Attack (Attacking unit)
Game - Display to (All players) the text: sdfadsasdfasdgggggg...

edit: no i can't do again. creeps engages me forever. Please someone helps me.
07-12-2009, 07:29 AM#5
DioD
this cannot be done by GUI in 123, w8 for 124 then do with hashtables