Staredit Network > Forums > SC2 Assistance > Topic: Vision for all players
Vision for all players
Aug 8 2010, 12:54 am
By: Striker  

Aug 8 2010, 12:54 am Striker Post #1



I need to know how to make a player group then have vision be shared for all players any help would be nice.
I tried having all players put into an empty player group but i don't know if that's what i was suppose to do. :ermm:



None.

Aug 8 2010, 1:05 am shmeeps Post #2



If they are all allies, then just look under the trigger category "Players" and find "Player - Make all players in Player Group treat each other as Ally/Enemy/Neutral With Shared Vision" (Or just search for it). This method must specify an allied/enemy/neutral relationship though.

Otherwise, you will have to do something along the lines of

Code
Player Group - For each player PlayerI in (All players) do (Actions)
   -Player Group - For each player PlayerJ in (All players) do (Actions)
       -Player - Turn player PlayerI Shared Vision On towards player PlayerJ


There's probably a more effective way than that, as this will take a second to run (and really should only be done once. The first method seems the most viable.



None.

Aug 8 2010, 11:44 am Devourer Post #3

Hello

Easiest way is this:
there is a action called like "Set alliance for all players in player group" (or something similar, search in the category Player Group, you'll find it).



Please report errors in the Staredit.Network forum.

Aug 8 2010, 7:29 pm shmeeps Post #4



Quote from shmeeps
If they are all allies, then just look under the trigger category "Players" and find "Player - Make all players in Player Group treat each other as Ally/Enemy/Neutral With Shared Vision" (Or just search for it). This method must specify an allied/enemy/neutral relationship though.
But again, you can't ignore the enemy/allied/neutral flag, as it must be set through this trigger. If they are all allies or all enemies or all neutral, this trigger will work fine. However, if you only want mess with shared vision, and not the allied/enemy/neutral flag, then you'd have to use something like the second method i posted.



None.

Aug 9 2010, 6:58 am Vincent Post #5



Quote from Devourer
Easiest way is this:
there is a action called like "Set alliance for all players in player group" (or something similar, search in the category Player Group, you'll find it).

Yeah this works, I've done it myself.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:35 pm]
Symmetry -- though mine's probably worse
[03:35 pm]
Symmetry -- That certainly sounds similar to what I've made
[06:28 am]
Ultraviolet -- sounds like Bound & Defend
[07:43 pm]
Symmetry -- If you take the reins you damn well be ready to ride
[2026-5-23. : 2:46 pm]
NudeRaider -- you wish
[2026-5-23. : 12:43 am]
IskatuMesk -- Ah, so Reindeer Breeding 3: BDSM edition.
[2026-5-22. : 12:45 am]
Moose -- tbh
[2026-5-20. : 8:27 pm]
Symmetry -- It's a bound map where you cross obstacles to earn units to defend your base
[2026-5-20. : 8:16 pm]
Symmetry -- No, the world isn't ready for that
[2026-5-20. : 5:11 pm]
Zoan -- Reindeer Breeding 3?
Please log in to shout.


Members Online: lil-Inferno