In this map all COMMON memory leaks have been fixed thanks to a lot of help here.
However, before I protect a copy of the map and launch a beta, I want to have these last few triggers reviewed. Each posted trigger is a sample of many of like triggers. I post each sample in the order of which I think is most likely to have leaks to that which is least likely.
Here we create something called "Visibility Modifier."
This is periodic.
String leak?
Destructible Leak?
Possible point leak or region leak?
I doubt this leaks.
You'll get a rep bonus for this.
However, before I protect a copy of the map and launch a beta, I want to have these last few triggers reviewed. Each posted trigger is a sample of many of like triggers. I post each sample in the order of which I think is most likely to have leaks to that which is least likely.
Here we create something called "Visibility Modifier."
Trigger:
- Alliance Left Vision
- Events
- Time - Elapsed game time is 5.00 seconds
- Conditions
- Actions
- Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Alliance Left Vision <gen>
- Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across Alliance Left Vision <gen>
- Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility across Alliance Left Vision <gen>
- Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility across Alliance Left Vision <gen>
- Visibility - Create an initially Enabled visibility modifier for Player 5 (Yellow) emitting Visibility across Alliance Left Vision <gen>
- Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across Alliance Left Vision <gen>
- Events
This is periodic.
Trigger:
- Periodic Gold
- Events
- Time - Every 15.00 seconds of game time
- Conditions
- Actions
- Player - Add 25 to Player 1 (Red) Current gold
- Player - Add 25 to Player 2 (Blue) Current gold
- Player - Add 25 to Player 3 (Teal) Current gold
- Player - Add 25 to Player 4 (Purple) Current gold
- Player - Add 25 to Player 5 (Yellow) Current gold
- Player - Add 25 to Player 6 (Orange) Current gold
- Player - Add 25 to Player 7 (Green) Current gold
- Player - Add 25 to Player 8 (Pink) Current gold
- Player - Add 25 to Player 9 (Gray) Current gold
- Player - Add 25 to Player 10 (Light Blue) Current gold
- Player - Add 25 to Player 11 (Dark Green) Current gold
- Player - Add 25 to Player 12 (Brown) Current gold
- Events
String leak?
Trigger:
- Open Horde North Gate
- Events
- Player - Player 7 (Green) types a chat message containing -open north as An exact match
- Player - Player 8 (Pink) types a chat message containing -open north as An exact match
- Player - Player 9 (Gray) types a chat message containing -open north as An exact match
- Player - Player 10 (Light Blue) types a chat message containing -open north as An exact match
- Player - Player 11 (Dark Green) types a chat message containing -open north as An exact match
- Player - Player 12 (Brown) types a chat message containing -open north as An exact match
- Conditions
- Actions
- Destructible - Open Iron Gate (Vertical) 0297 <gen>
- Events
Destructible Leak?
Trigger:
- Respawn Horde North Gate
- Events
- Destructible - Iron Gate (Vertical) 0297 <gen> dies
- Conditions
- Actions
- Wait 60.00 game-time seconds
- Destructible - Resurrect Iron Gate (Vertical) 0297 <gen> with (Max life of Iron Gate (Vertical) 0297 <gen>) life and Hide birth animation
- Events
Possible point leak or region leak?
Trigger:
- Red Suicide
- Events
- Unit - A unit enters Suicide 1 Red <gen>
- Conditions
- (Owner of (Triggering unit)) Equal to Player 1 (Red)
- Actions
- Unit - Kill (Triggering unit)
- Events
I doubt this leaks.
Trigger:
- Respawn Waygate 1
- Events
- Unit - Way Gate 0064 <gen> Takes damage
- Conditions
- Actions
- Unit - Hide Way Gate 0064 <gen>
- Unit - Hide Way Gate 0065 <gen>
- Wait 60.00 game-time seconds
- Unit - Unhide Way Gate 0064 <gen>
- Unit - Unhide Way Gate 0065 <gen>
- Events
You'll get a rep bonus for this.