[trigger]
Limit
Events
Map initialization
Conditions
Actions
Game - Set Lock alliance settings to On
Set Ally = (All players)
Player Group - Pick every player in Ally and do (Actions)
Loop - Actions
Player - For (Picked player), set the maximun number of Arcane Vault to 1
Player Group - Destroy Ally
[/trigger]
[trigger]
Get
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to Arcane Vault
Actions
Set Ally = (All allies of (Triggering player))
Player Group - Pick every player in Ally and do (Actions)
Loop - Actions
Player - For (Picked player), turn Shared vision On toward (Triggering player)
Player Group - Destroy Ally
[/trigger]
[trigger]
Loss
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Arcane Vault
(Number of living (Unit-type of (Triggering unit)) units owned by (Triggering player)) Equal to 0
Actions
Set Ally = (All allies of (Triggering player))
Player Group - Pick every player in Ally and do (Actions)
Loop - Actions
Player - For (Picked player), turn Shared vision Off toward (Triggering player)
Player Group - Destroy Ally
[/trigger]