• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Tower Attack System Request

Status
Not open for further replies.
Level 4
Joined
Apr 30, 2009
Messages
47
Hi guys i need some help :D
i need a system
if a unit(non-hero) attack enemy tower then tower should attack the unit first second hero and third catapult.
but if enemy hero is attack my hero then tower should attack enemy hero first then other units
i know this is a Complex system but i really need it
thanks :thumbs_up:
note: i make many towers in map (22)
 
Level 17
Joined
Apr 3, 2010
Messages
1,101
Em cant you just do trigger
Unit is attacked
If unit not equal to hero type unit
Then order attack unit to attack attacking unit.
Wait untill checking condition every 2 seconds Attacking unit Not equal to alive
Order attacked unit to attack Hero / A unit of herotype (NOte or you can use random unit group of hero unit type IN whatever ange u want)
Wait untill checking condition every 2 seconds Hero Not equal to alive
Order Attacked unit to attack catapult.

Else If attacking unit = To herotypeunit
Then ORder attacked unit to attack hero
Wait untill checking every 2 seconds Hero NOt equal to alive
Order Attacked unit to attack Catapult
Etc


If you want me to implement this system for you post the map and i can repost the map with the trigger done for you. Or if you would like a system done for you tell me and i can post a tutorial map..
Okay

If this didnt help u just say and ill think of something else.
Also can you make exactly what you want a bit clearer or show me wt u mean
 
Last edited:
Status
Not open for further replies.
Top