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

Unit detect!

Status
Not open for further replies.
Level 3
Joined
Jun 8, 2006
Messages
37
Hello there!

So, I've got a question that I'm hoping will be easy. What is the easiest way to enable units to have a chance to see through cloak/invisiblity; but only if the cloaked unit is infront of them (so that going behind them will = 0% chance of detecting, whereas being infront of them might have a 10% chance of detection or something similar).

Any suggestions?
 
Level 1
Joined
Feb 24, 2010
Messages
62
The only thing I think I have figured out is disabling the ability to detect behind the unit. No clue about the chance of detecting. :/

Anyways, this picture should say enough: (The detect "ability" can be found in the 'Behavior' tab.)

SC2Detection.jpg
 
Status
Not open for further replies.
Top