wc3edit.net

United Warcraft 3 map hacking!
It is currently April 28th, 2024, 4:18 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: October 21st, 2009, 6:14 pm 
Offline
Newcomer

Joined: May 19th, 2009, 8:29 pm
Posts: 9
I am currently having trouble figuring out how to make AI units like footman who walk to a destination i call path a in regions attack the enemie who also walk to path a if they are not standing still.


Top
 Profile  
 
PostPosted: October 22nd, 2009, 5:11 pm 
Offline
Newcomer

Joined: May 19th, 2009, 8:29 pm
Posts: 9
what i mean is i have a trigger that tells creeps to move to a certain region for the allys and the enemies and i want them to attack each other if they meet up with each other before or after they reach that destination.


Top
 Profile  
 
PostPosted: October 22nd, 2009, 9:22 pm 
Offline
Forum Staff
User avatar

Joined: November 17th, 2008, 3:49 pm
Posts: 610
Just make the creeps attack-move to the region instead of just move.

Code:
Unit Group - Pick every unit in (Units in Region 000 <gen> owned by Neutral Hostile) and do (Unit - Order (Picked unit) to Attack-Move To (Center of (Playable map area)))


The action your looking for is "Unit - Issue order targeting a point"

_________________
Image


Top
 Profile  
 
PostPosted: October 23rd, 2009, 6:05 am 
Offline
Senior Member

Joined: October 5th, 2009, 7:31 am
Posts: 184
Location: Here!? XD
Title: Taiwan, Singapore
knightcyan wrote:
I am currently having trouble figuring out how to make AI units like footman who walk to a destination i call path a in regions attack the enemie who also walk to path a if they are not standing still.

knightcyan wrote:
what i mean is i have a trigger that tells creeps to move to a certain region for the allys and the enemies and i want them to attack each other if they meet up with each other before or after they reach that destination.


Don't double post, use the edit button.

kthx.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)