There is something wrong with this triggers:
Trigger:
- Human 1
- Events
- Unit - Lever 0538 <gen> Is attacked
- Conditions
- (Unit-type of (Triggering unit)) Equal to Lever
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[1] Equal to 0
- Then - Actions
- Set Lever_Set[1] = 1
- Destructible - Open Gate (Horizontal) 0333 <gen>
- Animation - Play Lever 0387 <gen>'s Death animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[1] Equal to 1
- Then - Actions
- Set Lever_Set[1] = 0
- Destructible - Close Gate (Horizontal) 0333 <gen>
- Animation - Play Lever 0387 <gen>'s Stand animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- Human 2
- Events
- Unit - Lever 0537 <gen> Is attacked
- Conditions
- (Unit-type of (Triggering unit)) Equal to Lever
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[2] Equal to 0
- Then - Actions
- Set Lever_Set[2] = 1
- Destructible - Open Gate (Horizontal) 0333 <gen>
- Animation - Play Lever 0387 <gen>'s Death animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[2] Equal to 1
- Then - Actions
- Set Lever_Set[2] = 0
- Destructible - Close Gate (Horizontal) 0333 <gen>
- Animation - Play Lever 0387 <gen>'s Stand animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- Undead
- Events
- Unit - Lever 0539 <gen> Is attacked
- Conditions
- (Unit-type of (Triggering unit)) Equal to Lever
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[3] Equal to 0
- Then - Actions
- Set Lever_Set[3] = 1
- Destructible - Open Demonic Gate (Vertical) 0638 <gen>
- Animation - Play Lever 0387 <gen>'s Death animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[3] Equal to 1
- Then - Actions
- Set Lever_Set[3] = 0
- Destructible - Close Demonic Gate (Vertical) 0638 <gen>
- Animation - Play Lever 0387 <gen>'s Stand animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- Night Elf
- Events
- Unit - Lever 0540 <gen> Is attacked
- Conditions
- (Unit-type of (Triggering unit)) Equal to Lever
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[4] Equal to 0
- Then - Actions
- Set Lever_Set[4] = 1
- Destructible - Open Gate (Horizontal) 1163 <gen>
- Animation - Play Lever 0387 <gen>'s Death animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[4] Equal to 1
- Then - Actions
- Set Lever_Set[4] = 0
- Destructible - Close Gate (Horizontal) 1163 <gen>
- Animation - Play Lever 0387 <gen>'s Stand animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- Orc
- Events
- Unit - Lever 0541 <gen> Is attacked
- Conditions
- (Unit-type of (Triggering unit)) Equal to Lever
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[5] Equal to 0
- Then - Actions
- Set Lever_Set[5] = 1
- Destructible - Open Elven Gate (Horizontal) 0000 <gen>
- Animation - Play Lever 0387 <gen>'s Death animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Lever_Set[5] Equal to 1
- Then - Actions
- Set Lever_Set[5] = 0
- Destructible - Close Elven Gate (Horizontal) 0000 <gen>
- Animation - Play Lever 0387 <gen>'s Stand animation
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events