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

Starcraft 2 Neutral reveal

Status
Not open for further replies.
Level 13
Joined
Sep 14, 2008
Messages
1,407
Pick every unit within 600 range of "specificUnit" and do actions:
Add owner of picked unit to "revealPlayers"

Pick every player in "reveal playres" and do actions:
Create visbility modifie rfor picked player at "yourLocation".


Maybe you need another trigger to remove those modifiers...
 
Level 12
Joined
Feb 23, 2007
Messages
1,030
I can't garantee it wouldn't lag, but if you know JASS, pick units within range of the towers. Add them to a group. Then every 2 seconds pick all units in the group and detect whether or not there is a unit within 600 range of type watch tower. If there isn't one them remove them from the group. You don't actually need JASS but if you don't want it to lag, you will use JASS.
 
Status
Not open for further replies.
Top