| 06-09-2005, 01:29 AM | #1 |
How do i make it so a specific area is viewable by all players that are allied to Red? ie a Hero Selection Area Without Putting any Buildings and/or objects that belong to red besides the start location? Currently i have a start location for red there - but when it goes there i cant see anything - just has fog of war there Any Suggestions? |
| 06-09-2005, 04:40 AM | #2 |
Create a region there. Say, TheRegion. Then run a for loop to make that area visible to all allies of player 1. Code:
For every Integer A from 1 to 12
{
If player(Integer A) is an ally of player(1) Equals to true
{
Set visibility for player(Integer A) at TheRegion to Enabled
}
}I THINK the proper trigger names are much different, but that's about it. The condition for whether a player is an ally of player 1 is a boolean. I use For loops not Pick Every Player because apparently Pick Every Player creates leaks. I think. |
