is there a surefire way to hide a region for a player for whom the entire map has been made visible before? Basically I want the player to see everything except for a certain region.
My approach:
Visibility - Reveal (Entire map) for player Player for 0.0 seconds and Do Not check cliff level Visibility - Change visibility for player Player to Hidden within Region 004 and Do Not check cliff level
Instead of using that reveal area action, you want to create a revealer and set it to a variable. You can then destroy that revealer by referencing the variable.
This was my first attempt. But I only want to (permanently) hide a small portion of the map. Creating and destroying a revealer would mean I reveal a certain area and then hide the exact same area when I want to.
Hm. I was thinking about using negative regions, but when I tested it out, it didn't work. So maybe you just gotta make a bunch of smaller regions for everywhere but the area you want hidden.
Hello everyone,
is there a surefire way to hide a region for a player for whom the entire map has been made visible before? Basically I want the player to see everything except for a certain region.
My approach:
Visibility - Reveal (Entire map) for player Player for 0.0 seconds and Do Not check cliff level
Visibility - Change visibility for player Player to Hidden within Region 004 and Do Not check cliff level
Result: Doesn't work. Entire map remains visible.
Thanks!
Instead of using that reveal area action, you want to create a revealer and set it to a variable. You can then destroy that revealer by referencing the variable.
@MaskedImposter: Go
This was my first attempt. But I only want to (permanently) hide a small portion of the map. Creating and destroying a revealer would mean I reveal a certain area and then hide the exact same area when I want to.
Setting the duration or the Reveal Area action to 0 reveals the area permanently. It says it in the action description.
If you want to make a specific area visible while the rest remains hidden, I would go about doing it using a revealer as MaskedImposter suggested.
Custom Campaign Initiative | Mapster Community Project: Data Wizards
Starcraft II: Unsung Rebels, a custom campaign for Starcraft II
SC2Saver, a way to create saved games via trigger
Frustrated with the editor and would like answers in real time? Join the SC2Mapster Discord!
@Winryamo: Go
I guess I'm not sure what you're asking.
@aZergBaneling: Go
No, I want the opposite. I want to make everything visible except for a small region.
Hm. I was thinking about using negative regions, but when I tested it out, it didn't work. So maybe you just gotta make a bunch of smaller regions for everywhere but the area you want hidden.
Hide the whole map, then reveal the parts you don't want hidden.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)