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

Near a tree, or a destructible

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
How to add ability for an unit when it is near a tree/destructible ? But very very close to a tree/destructible.
 
Level 3
Joined
Jun 18, 2014
Messages
30
Mmm you can make trigger what detect if near the unit are some destructible and add the ability.
Use A unit enters a region if the region contains the tree (I think it's better solution if you don't have too much destructibles in the map) or Every time to look in a range from the unit and if near is some destructible.
In this last you can use some spell to activate the trigger.

Now I'm not in my pc so maybe the next in reply to this give you the specifics triggers.
 
Status
Not open for further replies.
Top