• 🏆 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!

How do you make units... {AI focused on killing a player's "king"}

Status
Not open for further replies.
Level 4
Joined
Mar 19, 2008
Messages
89
Hi, I don't know how to make an AI type of thing, where units will attack random players to kill all the players "kings" for example, kind of like what they do in Custom castle defense! I would really apreciate any help. thanks!
 
Level 4
Joined
Jan 15, 2009
Messages
35
i think you make a trigger that says they have to attack move to a position or a trigger where they a ordert to attack the king himself its a very easy kind of triggers

EDIT:
like you create a region and make a trigger that all units in another region go attack move to middle of that new region
 
Last edited by a moderator:
Level 4
Joined
Mar 19, 2008
Messages
89
Well, if that works I will be very happy. I didn't try it because it seems to simple! thanks

EDIT:
Thank you, it worked!

SOLVED
 
Last edited by a moderator:
Status
Not open for further replies.
Top