Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer Vision Problem
Computer Vision Problem
Oct 7 2024, 10:02 am
By: billierios  

Oct 7 2024, 10:02 am billierios Post #1



Comp is player 7.
Hyper Triggers are used.
Comp is allied with Players, vice-versa. (via triggers)

Alright, I'm having problems with the comp giving vision to Force 1 (the players). I'm using the Turn ON Shared Vision at Location script and I've tried using it without "at Location"; but nothing seems to make him vision with me. Any ideas?



None.

Oct 7 2024, 3:17 pm Vrael Post #2



From the FAQ section on Vision, maybe this will help:

Quote from name:FAQ
To alter a player's vision statuses, we can use "Run AI Script" action "Turn ON/OFF Shared Vision for Player X". The action may operate opposite of how you might imagine, however- turning ON/OFF vision with a player does not change the trigger owner's status with that player, but rather turns on or off that player's shared vision with you, the trigger owner.

For instance, if one wanted to give Player 2's vision to Player 1, we would Run the Ai Script "Turn ON Shared Vision for Player 2" in a trigger owned by player 1. After this trigger owned by P1 runs, he will be able to see all of Player 2's units, and cloaked units owned by Player 2. One should note, however, that it takes a moment for this change to be taken into effect.

Another application and possibility of changing vision statuses is to turn OFF shared vision with the player that owns the trigger. IE Player 1 would run the action 'Execute AI Script 'Turn OFF Shared Vision for Player 1'. This would remove Player 1's ability to receive vision from his own units. If, however, his units are visible to him (by being within vision of a player he receives vision from) the units will always be detected for him. For example, Player 1 could not own a Dark Templar and see the area its in but have it be cloaked. Either P1 can not see the whole area, or he can see the area AND his own cloaked units.




None.

Oct 9 2024, 2:37 pm Oh_Man Post #3

Find Me On Discord (Brood War UMS Community & Staredit Network)

I remember it was unintuitive which player actually gets the shared vision trigger. Try flipping around the way you're doing it.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: pilotshower, omykiqigy