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

[Trigger] How to check if two units are touching?

Status
Not open for further replies.
Level 6
Joined
Jan 8, 2009
Messages
140
I need to check if when one unit is spawned if the location is on top of another unit in a specific unit group, I can't seem to figure out a simple way to do this, any ideas?
 
Level 15
Joined
Aug 7, 2013
Messages
1,337
Hmm I think you should clarify what you mean by "two units touching" or "check if when one unit is spawned if the location on top of another unit in a specific unit group."

If you are looking only at units in a specific unit group then you'll need the GUI Chaosy provided, though obviously substituting the group with your own unit group.
 
Status
Not open for further replies.
Top