• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Starcraft 2 Neutral reveal

Status
Not open for further replies.
Level 13
Joined
Sep 14, 2008
Messages
1,408
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