• 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.

[General] How to make all players in a group stop/start sharing vision with each other?

Status
Not open for further replies.
Level 7
Joined
Mar 16, 2014
Messages
169
Only coding in GUI. It's a very simple question that should not be this annoying to figure out. But if I pick every player in a player group, I don't know how to detect what I'm changing their vision sharing of.
 
Hello,

  • Player Group - Pick every player in YourGroup and do (Actions)
    • Loop - Actions
      • Player Group - Make (All allies of (Picked player)) treat (All allies of (Picked player)) as an Ally with shared vision
Please find attached a map that contains this trigger. Type "D" to disable vision from allies and "E" to enable it.
You'll find also a trigger on how to add a Player to a Player Group.
 

Attachments

  • Vision.w3x
    19.2 KB · Views: 36
Level 7
Joined
Mar 16, 2014
Messages
169
Thanks, I somehow missed the all allies of player under player group.
Do I need to set all allies of player to a group and remove it to prevent a player group leak?
 
Status
Not open for further replies.
Top