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

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