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

[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
152
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: 32
Level 7
Joined
Mar 16, 2014
Messages
152
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