wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 07-11-2009, 03:23 PM   #1
Vulcan
User
 
Join Date: Nov 2008
Posts: 4

Vulcan has little to show at this moment (0)

Default Dota how can do this ?!?

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.
Vulcan is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 07-11-2009, 03:32 PM   #2
DioD
obey
 
DioD's Avatar
 
Join Date: Feb 2006
Posts: 1,532

Submissions (4)

DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)

Send a message via ICQ to DioD
Default

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.
DioD is offline   Reply With Quote
Old 07-11-2009, 03:41 PM   #3
Vulcan
User
 
Join Date: Nov 2008
Posts: 4

Vulcan has little to show at this moment (0)

Default

I looked but i cannot find. Can you link it for me ?

Last edited by Vulcan : 07-11-2009 at 03:45 PM.
Vulcan is offline   Reply With Quote
Old 07-11-2009, 03:50 PM   #4
Vulcan
User
 
Join Date: Nov 2008
Posts: 4

Vulcan has little to show at this moment (0)

Default

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.

Last edited by Vulcan : 07-11-2009 at 03:56 PM.
Vulcan is offline   Reply With Quote
Old 07-12-2009, 07:29 AM   #5
DioD
obey
 
DioD's Avatar
 
Join Date: Feb 2006
Posts: 1,532

Submissions (4)

DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)DioD is a jewel in the rough (220)

Send a message via ICQ to DioD
Default

this cannot be done by GUI in 123, w8 for 124 then do with hashtables
DioD is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 02:09 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services