• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Unit move

Status
Not open for further replies.
Level 2
Joined
Jun 6, 2010
Messages
17
I want a unit to attack/move to a region. That works but the unit runs back after they haved reached the center of the region.
Can anyone tell me how to make the unit attack move to a center of a region without having him move back once he reached the center of the region?

+Repp for help
 
Level 11
Joined
Sep 12, 2008
Messages
657
well thats not the problem.. the real problem is the "unit can flee"... since it makes him flee.. but for some odd reason, it also makes him return to his spot. check it out..

(its in object editor)
 
Level 5
Joined
Jan 4, 2007
Messages
103
Hm... do you have any AI Script enabled, just try this, go to AI Editor in your World Editor, uncheck Random Paths, uncheck Units Flee, uncheck Groups Flee, leave all the same if you have no-other AI Script. Save that script on your computer. Now Import it in your map through the Import Manager. Go to any Initilazation trigger or make a new one and add the action AI - Start Campaign Script For (The Player you want) Then the Imported Script. Try it just, maybe it's that.:) Remove the Script if it doesn't work.:) Also do you have any Cinematic Enabled, might be that, disable any trigger with a Cinematic Enabled and test it. Hope it helps:)
 
Status
Not open for further replies.
Top